diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-03-05 10:44:15 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-03-05 10:44:15 +0100 |
| commit | 3d9e22120b40a0a4eb470bc6ceb3de8879f74c8d (patch) | |
| tree | f7de48e66b09ad9427faa155be1829347b46f8b7 /src/GraphicObjects/Grid.cs | |
| parent | b7e8ad35f6f8ce7db30f9dde5cd2628c82f34f8b (diff) | |
split update registration and user
Diffstat (limited to 'src/GraphicObjects/Grid.cs')
| -rw-r--r-- | src/GraphicObjects/Grid.cs | 6 |
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; } |