diff --git a/Assets/Fungus/Editor/FungusEditorWindow.cs b/Assets/Fungus/Editor/FungusEditorWindow.cs index dd6a579e..1aec64a3 100755 --- a/Assets/Fungus/Editor/FungusEditorWindow.cs +++ b/Assets/Fungus/Editor/FungusEditorWindow.cs @@ -59,25 +59,6 @@ public class FungusEditorWindow : EditorWindow return; } - string labelText = sequenceController.name; - if (Application.isPlaying) - { - if (sequenceController.activeSequence == null) - { - labelText += ": Idle"; - } - else - { - labelText += ": Active"; - } - } - - GUILayout.BeginHorizontal(); - GUILayout.FlexibleSpace(); - GUILayout.Label(labelText); - GUILayout.Space(30); - GUILayout.EndHorizontal(); - Sequence[] sequences = sequenceController.GetComponentsInChildren<Sequence>(); Rect scrollViewRect = new Rect(); @@ -119,6 +100,24 @@ public class FungusEditorWindow : EditorWindow EndWindows(); GUI.EndScrollView(); + + string labelText = sequenceController.name; + if (Application.isPlaying) + { + if (sequenceController.activeSequence == null) + { + labelText += ": Idle"; + } + else + { + labelText += ": Active"; + } + } + + GUILayout.BeginVertical(); + GUILayout.FlexibleSpace(); + GUILayout.Label(labelText); + GUILayout.EndVertical(); } void DrawWindow(int windowId)