aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/LayoutingQueueItem.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-23 13:25:37 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-23 13:25:37 +0100
commit0e7aaef3655c455094df9a6a4580ad0aff8519a1 (patch)
treecc4c0241ae0a6f40c2858f72645e8328f26d5a5a /src/LayoutingQueueItem.cs
parenta2a18e264a8a2d586f2c058ebb5b2b15b745804e (diff)
rename CurrentInterface to IFace
Diffstat (limited to 'src/LayoutingQueueItem.cs')
-rw-r--r--src/LayoutingQueueItem.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LayoutingQueueItem.cs b/src/LayoutingQueueItem.cs
index ba2f95af..08810aaa 100644
--- a/src/LayoutingQueueItem.cs
+++ b/src/LayoutingQueueItem.cs
@@ -125,7 +125,7 @@ namespace Crow
#endif
if (LayoutingTries < Interface.MaxLayoutingTries) {
Layoutable.RegisteredLayoutings |= LayoutType;
- (Layoutable as GraphicObject).CurrentInterface.LayoutingQueue.Enqueue (this);
+ (Layoutable as GraphicObject).IFace.LayoutingQueue.Enqueue (this);
} else if (DiscardCount < Interface.MaxDiscardCount) {
#if DEBUG_LAYOUTING
Debug.WriteLine ("\t\tDiscarded");
@@ -133,7 +133,7 @@ namespace Crow
LayoutingTries = 0;
DiscardCount++;
Layoutable.RegisteredLayoutings |= LayoutType;
- (Layoutable as GraphicObject).CurrentInterface.DiscardQueue.Enqueue (this);
+ (Layoutable as GraphicObject).IFace.DiscardQueue.Enqueue (this);
}
#if DEBUG_LAYOUTING
else