File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Assets/Editor/Editor Windows Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -206,16 +206,18 @@ private void OnGUI()
206206 EditorGUILayout . EndHorizontal ( ) ;
207207
208208 // table:
209- EditorGUILayout . BeginHorizontal ( "box" ) ;
210209 if ( OrientationVertical )
211210 {
211+ EditorGUILayout . BeginHorizontal ( ) ;
212212 PutPropertiesForObject_V ( configGroup ) ;
213+ EditorGUILayout . EndHorizontal ( ) ;
213214 }
214215 else
215216 {
217+ EditorGUILayout . BeginVertical ( "box" ) ;
216218 PutPropertiesForObject_H ( configGroup ) ;
219+ EditorGUILayout . EndVertical ( ) ;
217220 }
218- EditorGUILayout . EndHorizontal ( ) ;
219221 }
220222 }
221223 EditorGUILayout . EndScrollView ( ) ;
@@ -483,8 +485,6 @@ private void PutPropertiesForObject_H<T>(List<T> Configs) where T : ScriptableOb
483485 {
484486 try
485487 {
486- EditorGUILayout . BeginVertical ( ) ;
487-
488488 // property names on horizontal line:
489489 EditorGUILayout . BeginHorizontal ( ) ;
490490 try
@@ -561,7 +561,6 @@ private void PutPropertiesForObject_H<T>(List<T> Configs) where T : ScriptableOb
561561 EditorGUILayout . EndHorizontal ( ) ;
562562 GUILayout . Space ( PropertySpace ) ;
563563 }
564- EditorGUILayout . EndVertical ( ) ;
565564 }
566565 catch
567566 {
You can’t perform that action at this time.
0 commit comments