Skip to content

Commit 6d39db1

Browse files
authored
Merge branch 'main' into fix/remove-directive-2019-3
2 parents 97d028e + 9df6eae commit 6d39db1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/MackySoft/MackySoft.SerializeReferenceExtensions/Editor/SubclassSelectorDrawer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public override void OnGUI (Rect position, SerializedProperty property, GUIConte
5656
Rect foldoutRect = new Rect(position);
5757
foldoutRect.height = EditorGUIUtility.singleLineHeight;
5858

59-
#if UNITY_2022_2_OR_NEWER
59+
#if UNITY_2022_2
6060
// NOTE: Position x must be adjusted.
6161
// FIXME: Is there a more essential solution...?
6262
foldoutRect.x -= 12;
@@ -197,4 +197,4 @@ public override float GetPropertyHeight (SerializedProperty property,GUIContent
197197
}
198198

199199
}
200-
}
200+
}

0 commit comments

Comments
 (0)