refactor: refactor

This commit is contained in:
mob-sakai
2020-11-16 03:07:35 +09:00
parent 08273cb0c3
commit fc4bd708fd
3 changed files with 7 additions and 8 deletions

View File

@@ -89,11 +89,11 @@ namespace Coffee.UIExtensions
{
EditorGUI.LabelField(new Rect(rect.x, rect.y, 150, rect.height), s_ContentRenderingOrder);
#if UNITY_2019_3_OR_NEWER
#if UNITY_2019_3_OR_NEWER
rect = new Rect(rect.width - 55, rect.y, 80, rect.height);
#else
#else
rect = new Rect(rect.width - 55, rect.y - 1, 80, rect.height);
#endif
#endif
if (GUI.Button(rect, s_ContentRefresh, EditorStyles.miniButton))
{