aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/Grid.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-03-05 10:44:15 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-03-05 10:44:15 +0100
commit3d9e22120b40a0a4eb470bc6ceb3de8879f74c8d (patch)
treef7de48e66b09ad9427faa155be1829347b46f8b7 /src/GraphicObjects/Grid.cs
parentb7e8ad35f6f8ce7db30f9dde5cd2628c82f34f8b (diff)
split update registration and user
Diffstat (limited to 'src/GraphicObjects/Grid.cs')
-rw-r--r--src/GraphicObjects/Grid.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GraphicObjects/Grid.cs b/src/GraphicObjects/Grid.cs
index 281f4ae0..e13690a7 100644
--- a/src/GraphicObjects/Grid.cs
+++ b/src/GraphicObjects/Grid.cs
@@ -128,15 +128,15 @@ namespace Crow
public override bool UpdateLayout (LayoutingType layoutType)
{
- RegisteredLayoutings &= (~layoutType);
+ QueuedLayoutings &= (~layoutType);
if (layoutType == LayoutingType.ArrangeChildren) {
ComputeChildrenPositions ();
//if no layouting remains in queue for item, registre for redraw
- if (RegisteredLayoutings == LayoutingType.None && bmp==null)
- this.RegisterForRedraw ();
+ if (QueuedLayoutings == LayoutingType.None && bmp==null)
+ this.AddToRedrawList ();
return true;
}