aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/LayoutingQueueItem.cs
diff options
context:
space:
mode:
authorj-p <jp.bruyere@live.be>2016-08-15 20:55:55 +0200
committerGitHub <noreply@github.com>2016-08-15 20:55:55 +0200
commitea5ba40d536aa80b56db118c3e8e077790c24359 (patch)
tree194329bce587f3f7035f9d4d6258728ac45f3d2b /src/LayoutingQueueItem.cs
parented815a31113235890cf6c902c754fb3dc7536708 (diff)
parent6c5120d8108af9ed53e7205d221cf96a281a28a4 (diff)
Merge pull request #19 from jpbruyere/TemplatesPathes
Default Templates searched among resources finishing with .template Textbox and label debug Keyboard repeat Double click Wrapper
Diffstat (limited to 'src/LayoutingQueueItem.cs')
-rw-r--r--src/LayoutingQueueItem.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/LayoutingQueueItem.cs b/src/LayoutingQueueItem.cs
index a7909022..6de5be7b 100644
--- a/src/LayoutingQueueItem.cs
+++ b/src/LayoutingQueueItem.cs
@@ -31,6 +31,7 @@ namespace Crow
None = 0x00,
X = 0x01,
Y = 0x02,
+ Positioning = 0x03,
Width = 0x04,
Height = 0x08,
Sizing = 0x0C,
@@ -100,12 +101,12 @@ namespace Crow
if (LayoutingTries < Interface.MaxLayoutingTries) {
LayoutingTries++;
Layoutable.RegisteredLayoutings |= LayoutType;
- Interface.CurrentInterface.LayoutingQueue.Enqueue (this);
+ (Layoutable as GraphicObject).CurrentInterface.LayoutingQueue.Enqueue (this);
} else if (DiscardCount < Interface.MaxDiscardCount) {
LayoutingTries = 0;
DiscardCount++;
Layoutable.RegisteredLayoutings |= LayoutType;
- Interface.CurrentInterface.DiscardQueue.Enqueue (this);
+ (Layoutable as GraphicObject).CurrentInterface.DiscardQueue.Enqueue (this);
}
#if DEBUG_LAYOUTING
else