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/GenericStack.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/GraphicObjects/GenericStack.cs') diff --git a/src/GraphicObjects/GenericStack.cs b/src/GraphicObjects/GenericStack.cs index 53aff76b..dd27d21a 100644 --- a/src/GraphicObjects/GenericStack.cs +++ b/src/GraphicObjects/GenericStack.cs @@ -166,7 +166,7 @@ namespace Crow } 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