diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-03-04 12:33:20 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-03-04 12:33:20 +0100 |
| commit | dbe64f1bcf768c02ca62314559b5657197b7453c (patch) | |
| tree | b19cebfca67929a6253ad3af5a677a14900e0aff /src/GraphicObjects/Docker.cs | |
| parent | 27a85f2d4e9987ac1809199e280e17a36d68c783 (diff) | |
clear Slot when parent change in go, docker wip
Diffstat (limited to 'src/GraphicObjects/Docker.cs')
| -rw-r--r-- | src/GraphicObjects/Docker.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/GraphicObjects/Docker.cs b/src/GraphicObjects/Docker.cs index dfd386aa..f61269d3 100644 --- a/src/GraphicObjects/Docker.cs +++ b/src/GraphicObjects/Docker.cs @@ -43,7 +43,7 @@ namespace Crow #endregion //GenericStack rootStack = null; - DockStack stack = null; + public DockStack SubStack = null; int dockingThreshold; List<DockWindow> windows = new List<DockWindow>(); @@ -77,10 +77,10 @@ namespace Crow DockWindow dw = IFace.DragAndDropOperation.DragSource as DockWindow; if (!dw.IsDocked) dw.MoveAndResize (e.XDelta, e.YDelta); - if (stack == null) { - stack = new DockStack (IFace); - InsertChild (0, stack); - stack.LogicalParent = this; + if (SubStack == null) { + SubStack = new DockStack (IFace); + InsertChild (0, SubStack); + SubStack.LogicalParent = this; } } base.onMouseMove (sender, e); |