Merge pull request #67 from bulleador/patch-1
fix: foldout arrow rendered out of the inspector in 2022.3 and newer
This commit is contained in:
commit
9df6eae13c
@ -57,7 +57,7 @@ namespace MackySoft.SerializeReferenceExtensions.Editor
|
||||
Rect foldoutRect = new Rect(position);
|
||||
foldoutRect.height = EditorGUIUtility.singleLineHeight;
|
||||
|
||||
#if UNITY_2022_2_OR_NEWER
|
||||
#if UNITY_2022_2
|
||||
// NOTE: Position x must be adjusted.
|
||||
// FIXME: Is there a more essential solution...?
|
||||
foldoutRect.x -= 12;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user