aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-08-01 13:19:41 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2016-08-01 13:19:41 +0200
commitab038cf43805cc3aa071ae2ecbf3fa011fd3a6ca (patch)
tree32a660b2982a9d4595e5d332f053bfa21e9ee1ec /src/GraphicObjects
parent7d84ba29057264497818c4c315bec7547cc9afac (diff)
just query repaint for visible state
Diffstat (limited to 'src/GraphicObjects')
-rw-r--r--src/GraphicObjects/GraphicObject.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GraphicObjects/GraphicObject.cs b/src/GraphicObjects/GraphicObject.cs
index 669fa83d..d610398e 100644
--- a/src/GraphicObjects/GraphicObject.cs
+++ b/src/GraphicObjects/GraphicObject.cs
@@ -412,7 +412,7 @@ namespace Crow
if (_isVisible)
RegisterForLayouting (LayoutingType.Sizing);
- RegisterForGraphicUpdate ();
+ Interface.CurrentInterface.EnqueueForRepaint (this);
NotifyValueChanged ("Visible", _isVisible);
}