diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-08-15 01:49:35 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-08-15 01:49:35 +0200 |
| commit | 6c5120d8108af9ed53e7205d221cf96a281a28a4 (patch) | |
| tree | 194329bce587f3f7035f9d4d6258728ac45f3d2b /src/LayoutingQueueItem.cs | |
| parent | 721fa8de23a9c56396c1df9f012682b7f65775fb (diff) | |
CurrentInterface in GraphicObject base
Diffstat (limited to 'src/LayoutingQueueItem.cs')
| -rw-r--r-- | src/LayoutingQueueItem.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LayoutingQueueItem.cs b/src/LayoutingQueueItem.cs index e33d209c..6de5be7b 100644 --- a/src/LayoutingQueueItem.cs +++ b/src/LayoutingQueueItem.cs @@ -101,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 |