mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Merge pull request #102786 from Giganzo/top-toolbar-menu-button-styles
Fix MenuButton style in editor top menu bar
This commit is contained in:
commit
ef3e8b1609
8 changed files with 16 additions and 0 deletions
|
|
@ -96,6 +96,8 @@ Skeleton2DEditor::Skeleton2DEditor() {
|
|||
|
||||
options->set_text(TTR("Skeleton2D"));
|
||||
options->set_button_icon(EditorNode::get_singleton()->get_editor_theme()->get_icon(SNAME("Skeleton2D"), EditorStringName(EditorIcons)));
|
||||
options->set_flat(false);
|
||||
options->set_theme_type_variation("FlatMenuButton");
|
||||
|
||||
options->get_popup()->add_item(TTR("Reset to Rest Pose"), MENU_OPTION_SET_REST);
|
||||
options->get_popup()->add_separator();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue