Skip to content

Commit

Permalink
Fixed Incorrect Rendering of Custom Property Drawers in ReorderableLi…
Browse files Browse the repository at this point in the history
…stPropertyDrawer
  • Loading branch information
peeweek committed Nov 12, 2020
1 parent b608ef4 commit add11c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ protected override void OnGUI_Internal(Rect rect, SerializedProperty property, G
r.x += 10.0f;
r.width -= 10.0f;
EditorGUI.PropertyField(new Rect(r.x, r.y, r.width, 0.0f), element, true);
EditorGUI.PropertyField(new Rect(r.x, r.y, r.width, EditorGUIUtility.singleLineHeight), element, true);
},

elementHeightCallback = (int index) =>
Expand Down

0 comments on commit add11c4

Please sign in to comment.