diff options
Diffstat (limited to 'src/CompilerServices')
| -rw-r--r-- | src/CompilerServices/CompilerServices.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CompilerServices/CompilerServices.cs b/src/CompilerServices/CompilerServices.cs index 9961c52d..82f82817 100644 --- a/src/CompilerServices/CompilerServices.cs +++ b/src/CompilerServices/CompilerServices.cs @@ -795,8 +795,8 @@ namespace Crow /// <returns><c>true</c>, if logical parents are not null</returns> /// <param name="instance">Start Instance</param> /// <param name="levelCount">Levels to go upward</param> - internal static ILayoutable goUpNbLevels(ILayoutable instance, int levelCount){ - ILayoutable tmp = instance; + internal static GraphicObject goUpNbLevels(GraphicObject instance, int levelCount){ + GraphicObject tmp = instance; int i = 0; while (tmp != null && i < levelCount) { tmp = tmp.LogicalParent; |