From 3d9e22120b40a0a4eb470bc6ceb3de8879f74c8d Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Sat, 5 Mar 2016 10:44:15 +0100 Subject: split update registration and user --- src/LayoutingQueueItem.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/LayoutingQueueItem.cs') diff --git a/src/LayoutingQueueItem.cs b/src/LayoutingQueueItem.cs index ef56d6c6..b9a25677 100644 --- a/src/LayoutingQueueItem.cs +++ b/src/LayoutingQueueItem.cs @@ -45,7 +45,7 @@ namespace Crow { LayoutType = _layoutType; GraphicObject = _graphicObject; - GraphicObject.RegisteredLayoutings |= LayoutType; + GraphicObject.QueuedLayoutings |= LayoutType; } public void ProcessLayouting() @@ -65,8 +65,8 @@ namespace Crow #endif GraphicObject.LayoutingTries ++; if (GraphicObject.LayoutingTries < Interface.MaxLayoutingTries) { - GraphicObject.RegisteredLayoutings |= LayoutType; - Interface.LayoutingQueue.Enqueue (this); + GraphicObject.QueuedLayoutings |= LayoutType; + Interface.CurrentInterface.LayoutingQueue.Enqueue (this); } } else { GraphicObject.LayoutingTries = 0; -- cgit v1.3.1-4-g156e