aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/Grid.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-02-04 14:10:19 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-02-04 15:17:13 +0100
commit14c11116a5a53bc8c628b4963ecdfd31ccd41ee0 (patch)
treea4da1b41fbbac0b994089ea6b501f1351f909db6 /src/GraphicObjects/Grid.cs
parentd5f05d1fb773975e868291dfd1f6b8b69ddedc6d (diff)
new layouting queue with double linked list, buggy
Diffstat (limited to 'src/GraphicObjects/Grid.cs')
-rw-r--r--src/GraphicObjects/Grid.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GraphicObjects/Grid.cs b/src/GraphicObjects/Grid.cs
index 6ce9a3c5..08241d9c 100644
--- a/src/GraphicObjects/Grid.cs
+++ b/src/GraphicObjects/Grid.cs
@@ -137,7 +137,7 @@ namespace Crow
if (layoutType == LayoutingType.PositionChildren) {
ComputeChildrenPositions ();
//if no layouting remains in queue for item, registre for redraw
- if (Interface.LayoutingQueue.Where (lq => lq.GraphicObject == this).Count () <= 0 && bmp==null)
+ if (RegisteredLQIs.Count () <= 0 && bmp==null)
this.RegisterForRedraw ();
}else
base.UpdateLayout(layoutType);