Skip to content

Commit 3d0ee6f

Browse files
committed
Merge branch 'develop' into feature/forcing-default-lists
2 parents 85937c4 + 05d27c2 commit 3d0ee6f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Assets/Editor Toolbox/Editor/Drawers/Toolbox/Decorator/EditorButtonAttributeDrawer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ protected override void OnGuiCloseSafe(EditorButtonAttribute attribute)
8282
using (new EditorGUI.DisabledScope(disable))
8383
{
8484
var label = string.IsNullOrEmpty(attribute.ExtraLabel)
85-
? attribute.MethodName
85+
? ObjectNames.NicifyVariableName(attribute.MethodName)
8686
: attribute.ExtraLabel;
8787
var tooltip = attribute.Tooltip;
8888
var content = new GUIContent(label, tooltip);

0 commit comments

Comments
 (0)