Skip to content

Commit fc13405

Browse files
fix: plugin menu button in ScriptEditor to match other topbar buttons (#216)
1 parent f8b3c5b commit fc13405

File tree

1 file changed

+3
-1
lines changed
  • addons/GDQuest_GDScript_formatter

1 file changed

+3
-1
lines changed

addons/GDQuest_GDScript_formatter/menu.gd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ func _ready() -> void:
3030

3131
menu_button = MenuButton.new()
3232
menu_button.text = MENU_TEXT
33-
menu_button.flat = true
33+
menu_button.switch_on_hover = true
34+
menu_button.flat = false
35+
menu_button.theme_type_variation = &"FlatMenuButton"
3436

3537
popup_menu = menu_button.get_popup()
3638
_populate_menu()

0 commit comments

Comments
 (0)