From 14c11116a5a53bc8c628b4963ecdfd31ccd41ee0 Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Thu, 4 Feb 2016 14:10:19 +0100 Subject: new layouting queue with double linked list, buggy --- src/GraphicObjects/Grid.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/GraphicObjects/Grid.cs') 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); -- cgit v1.3.1-4-g156e