]> O.S.I.I.S - jp/crow.git/commitdiff
remove HostContainer.gobjsToRedraw.add(this),old clip added differently
authorjpbruyere <jp.bruyere@hotmail.com>
Sun, 7 Feb 2016 21:27:39 +0000 (22:27 +0100)
committerjpbruyere <jp.bruyere@hotmail.com>
Sun, 7 Feb 2016 21:27:39 +0000 (22:27 +0100)
src/GraphicObjects/GraphicObject.cs

index 327d0d059c1778b95892716b19ac521f09cc461e..d75676595b9ecd9d703b2d56d101d7d8dfef8b34 100644 (file)
@@ -364,16 +364,16 @@ namespace Crow
 
                                if (HostContainer == null)
                                        return;
-//                             //add slot to clipping to redraw
-//                             HostContainer.gobjsToRedraw.Add (this);
 
                                //ensure main win doesn't keep hidden childrens ref
                                if (!_isVisible && this.Contains (HostContainer.hoverWidget))
                                        HostContainer.hoverWidget = null;
+
                                if (Parent is GenericStack)
                                        Parent.RegisterForLayouting (LayoutingType.Sizing | LayoutingType.PositionChildren);
-//
-                               RegisterForLayouting(LayoutingType.Sizing);
+
+                               RegisterForLayouting (LayoutingType.Sizing);
+
                                RegisterForRedraw ();
                                NotifyValueChanged ("Visible", _isVisible);
                        }