aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/LayoutingQueueItem.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-03-05 10:44:15 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-03-05 10:44:15 +0100
commit3d9e22120b40a0a4eb470bc6ceb3de8879f74c8d (patch)
treef7de48e66b09ad9427faa155be1829347b46f8b7 /src/LayoutingQueueItem.cs
parentb7e8ad35f6f8ce7db30f9dde5cd2628c82f34f8b (diff)
split update registration and user
Diffstat (limited to 'src/LayoutingQueueItem.cs')
-rw-r--r--src/LayoutingQueueItem.cs6
1 files changed, 3 insertions, 3 deletions
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;