Skip to content
This repository was archived by the owner on May 9, 2025. It is now read-only.

Commit 2ce5b3a

Browse files
Moved min/max fields to separate lines
1 parent 124179c commit 2ce5b3a

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

Assets/SO Architecture/Editor/Inspectors/ClampedVariableEditor.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,10 @@ public override void OnInspectorGUI()
2929
}
3030
private void DrawClampedFields()
3131
{
32-
EditorGUI.indentLevel++;
33-
34-
using (new EditorGUILayout.HorizontalScope())
32+
using (new EditorGUI.IndentLevelScope())
3533
{
3634
EditorGUILayout.PropertyField(_minValueProperty);
3735
EditorGUILayout.PropertyField(_maxValueProperty);
38-
}
39-
40-
EditorGUI.indentLevel--;
36+
}
4137
}
4238
}

0 commit comments

Comments
 (0)