|
|
@ -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 -= r.height; |
|
|
|
r.x = 0; |
|
|
|
#else |
|
|
|
#else |
|
|
|
r.x = 0; |
|
|
|
r.x = 0; |
|
|
|
#endif |
|
|
|
#endif |
|
|
@ -84,4 +84,4 @@ namespace Fungus |
|
|
|
GUI.Label(r, TextureIcon); |
|
|
|
GUI.Label(r, TextureIcon); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|