File tree 2 files changed +4
-5
lines changed
Assets/Editor/Editor Windows
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -206,16 +206,18 @@ private void OnGUI()
206
206
EditorGUILayout . EndHorizontal ( ) ;
207
207
208
208
// table:
209
- EditorGUILayout . BeginHorizontal ( "box" ) ;
210
209
if ( OrientationVertical )
211
210
{
211
+ EditorGUILayout . BeginHorizontal ( ) ;
212
212
PutPropertiesForObject_V ( configGroup ) ;
213
+ EditorGUILayout . EndHorizontal ( ) ;
213
214
}
214
215
else
215
216
{
217
+ EditorGUILayout . BeginVertical ( "box" ) ;
216
218
PutPropertiesForObject_H ( configGroup ) ;
219
+ EditorGUILayout . EndVertical ( ) ;
217
220
}
218
- EditorGUILayout . EndHorizontal ( ) ;
219
221
}
220
222
}
221
223
EditorGUILayout . EndScrollView ( ) ;
@@ -483,8 +485,6 @@ private void PutPropertiesForObject_H<T>(List<T> Configs) where T : ScriptableOb
483
485
{
484
486
try
485
487
{
486
- EditorGUILayout . BeginVertical ( ) ;
487
-
488
488
// property names on horizontal line:
489
489
EditorGUILayout . BeginHorizontal ( ) ;
490
490
try
@@ -561,7 +561,6 @@ private void PutPropertiesForObject_H<T>(List<T> Configs) where T : ScriptableOb
561
561
EditorGUILayout . EndHorizontal ( ) ;
562
562
GUILayout . Space ( PropertySpace ) ;
563
563
}
564
- EditorGUILayout . EndVertical ( ) ;
565
564
}
566
565
catch
567
566
{
You can’t perform that action at this time.
0 commit comments