File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Code/Editor/Window/NodeBased Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -123,19 +123,19 @@ private void DrawContent()
123
123
124
124
GUI . enabled = nodeViewers . Count > 0 ;
125
125
126
- if ( GUILayout . Button ( _selectButton , GUILayout . Width ( buttonWidth ) ) )
127
- {
128
- nodeViewers . ForEach ( item => item . Select ( true ) ) ;
129
- GUI . changed = true ;
130
- }
131
-
132
126
if ( GUILayout . Button ( _moveButton , GUILayout . Width ( buttonWidth ) ) )
133
127
{
134
128
NodeViewer viewer = _window . Map . NodeViewers . FirstOrDefault ( item => item . Id == _window . RootNodeId ) ;
135
129
if ( viewer != null )
136
130
_window . Camera . Position = viewer . WorldRect . center ;
137
131
}
138
132
133
+ if ( GUILayout . Button ( _selectButton , GUILayout . Width ( buttonWidth ) ) )
134
+ {
135
+ nodeViewers . ForEach ( item => item . Select ( true ) ) ;
136
+ GUI . changed = true ;
137
+ }
138
+
139
139
GUI . enabled = true ;
140
140
141
141
GUILayout . FlexibleSpace ( ) ;
You can’t perform that action at this time.
0 commit comments