From 6a2c17e2b571c9abbebe8d6c69e62fad1396f3a9 Mon Sep 17 00:00:00 2001 From: chrisgregan Date: Mon, 18 Aug 2014 13:21:50 +0100 Subject: [PATCH] Fixed selected sequence box render order --- Assets/Fungus/Editor/FungusScript/FungusEditorWindow.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/Fungus/Editor/FungusScript/FungusEditorWindow.cs b/Assets/Fungus/Editor/FungusScript/FungusEditorWindow.cs index 52e6bd3d..91849d8b 100755 --- a/Assets/Fungus/Editor/FungusScript/FungusEditorWindow.cs +++ b/Assets/Fungus/Editor/FungusScript/FungusEditorWindow.cs @@ -115,6 +115,8 @@ namespace Fungus.Script DrawConnections(fungusScript, s, true); } + EndWindows(); + if (fungusScript.selectedSequence != null || fungusScript.executingSequence != null) { @@ -134,9 +136,7 @@ namespace Fungus.Script GLDraw.DrawBox(outlineRect, Color.green, 2); } - EndWindows(); - - GUI.EndScrollView(); + GUI.EndScrollView(); GUILayout.BeginVertical(); GUILayout.FlexibleSpace();