Skip to content

Commit 61f44a3

Browse files
authored
Added UI tooltips for menubar buttons (contributed by williamchange)
Added UI tooltips for menubar button panels
2 parents a61e325 + fa5681d commit 61f44a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

material_maker/panels/common/menu_bar_button_with_panel.gd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ func _ready() -> void:
1717

1818
theme_arrow_icon = get_theme_icon("arrow", "OptionButton")
1919
icon = get_theme_icon(icon_name, "MM_Icons")
20+
mouse_entered.connect(func():
21+
mm_globals.set_tip_text("#LMB: Open/Close panel, #RMB: Pin/Unpin Panel"))
2022

2123

2224
func _enter_tree() -> void:

0 commit comments

Comments
 (0)