From 4d1f3264dc4b4ddc211164712e0d2d654a913bb7 Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Sat, 27 May 2017 18:35:01 +0200 Subject: c native GraphicObject implementation, work in progress --- src/CompilerServices/CompilerServices.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/CompilerServices/CompilerServices.cs') 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 /// true, if logical parents are not null /// Start Instance /// Levels to go upward - 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; -- cgit v1.3.1-4-g156e