Skip to content

Commit 05edf13

Browse files
committed
minor update
1 parent e41a5dd commit 05edf13

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Code/Editor/Window/NodeBased/GraphToolbar.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,19 +123,19 @@ private void DrawContent()
123123

124124
GUI.enabled = nodeViewers.Count > 0;
125125

126-
if (GUILayout.Button(_selectButton, GUILayout.Width(buttonWidth)))
127-
{
128-
nodeViewers.ForEach(item => item.Select(true));
129-
GUI.changed = true;
130-
}
131-
132126
if (GUILayout.Button(_moveButton, GUILayout.Width(buttonWidth)))
133127
{
134128
NodeViewer viewer = _window.Map.NodeViewers.FirstOrDefault(item => item.Id == _window.RootNodeId);
135129
if (viewer != null)
136130
_window.Camera.Position = viewer.WorldRect.center;
137131
}
138132

133+
if (GUILayout.Button(_selectButton, GUILayout.Width(buttonWidth)))
134+
{
135+
nodeViewers.ForEach(item => item.Select(true));
136+
GUI.changed = true;
137+
}
138+
139139
GUI.enabled = true;
140140

141141
GUILayout.FlexibleSpace();

_images/NodeBased4.png

-6.51 KB
Loading

0 commit comments

Comments
 (0)