Browse Source

Change HierarchyIcon offset

For Unity 2019.1 and up
master
Steve Halliwell 5 years ago
parent
commit
46286b8840
  1. 2
      Assets/Fungus/Scripts/Editor/HierarchyIcons.cs

2
Assets/Fungus/Scripts/Editor/HierarchyIcons.cs

@ -70,7 +70,7 @@ namespace Fungus
// place the icon to the left of the element // place the icon to the left of the element
Rect r = new Rect(selectionRect); Rect r = new Rect(selectionRect);
#if UNITY_2019_1_OR_NEWER #if UNITY_2019_1_OR_NEWER
r.x = 0; r.x -= 28; //this would make sense as singleLineHeight *2 but it isn't as that includes padding
#else #else
r.x = 0; r.x = 0;
#endif #endif

Loading…
Cancel
Save