aboutsummaryrefslogtreecommitdiffstatsci
path: root/src
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-02-07 22:27:39 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-02-07 22:27:39 +0100
commite7f1d4eac6b5023810152bf1f6c45f563bd0e202 (patch)
treecbfd41fcdc0500ea7e281df26096bb5dfa9ef4c9 /src
parent56177407f0a2ddfe7e2677290c79f38e194accde (diff)
remove HostContainer.gobjsToRedraw.add(this),old clip added differently
Diffstat (limited to 'src')
-rw-r--r--src/GraphicObjects/GraphicObject.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/GraphicObjects/GraphicObject.cs b/src/GraphicObjects/GraphicObject.cs
index 327d0d05..d7567659 100644
--- a/src/GraphicObjects/GraphicObject.cs
+++ b/src/GraphicObjects/GraphicObject.cs
@@ -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);
}