Skip to content

Commit 505323e

Browse files
committed
#325 - Fixed a bug that expandable draw label twice. May cause display error in Scriptable Wizard
1 parent a97aa9b commit 505323e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/NaughtyAttributes/Scripts/Editor/PropertyDrawers/ExpandablePropertyDrawer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ protected override void OnGUI_Internal(Rect rect, SerializedProperty property, G
108108
height = EditorGUIUtility.singleLineHeight
109109
};
110110

111-
EditorGUI.PropertyField(propertyRect, property, label, false);
111+
EditorGUI.PropertyField(propertyRect, property, false);
112112

113113
// Draw the child properties
114114
if (property.isExpanded)

0 commit comments

Comments
 (0)