Skip to content

Commit 8e7927a

Browse files
committed
options button minor visual update
1 parent 5db49e4 commit 8e7927a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Assets/Editor/Editor Windows/ScriptableObjectEditorWindow.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,8 +568,10 @@ private void OptionsButton<T>(T Config) where T : ScriptableObject
568568
if (ConfigOptionsIcon != null)
569569
{
570570
buttonStyle.padding = new RectOffset(2, 2, 2, 2);
571+
buttonStyle.margin = new RectOffset(0, 0, 0, 0);
571572
buttonStyle.imagePosition = ImagePosition.ImageOnly;
572573
}
574+
573575
if (isRenaming && ObjectToRename != null && ObjectToRename == Config)
574576
{
575577
if (GUILayout.Button(checkIcon, buttonStyle, ConfigOptionsButtonOptions))
@@ -584,7 +586,6 @@ private void OptionsButton<T>(T Config) where T : ScriptableObject
584586
ShowOptionsMenu(Config);
585587
}
586588
}
587-
588589
}
589590

590591
private void ShowOptionsMenu<T>(T Config) where T : ScriptableObject

0 commit comments

Comments
 (0)