Skip to content

Commit e3aa152

Browse files
committed
Merge pull request #97319 from Giganzo/groups-add-button-style
Fix Add button style in GroupsEditor
2 parents b9b7932 + 15f3441 commit e3aa152

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/groups_editor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ GroupsEditor::GroupsEditor() {
840840
add_child(hbc);
841841

842842
add = memnew(Button);
843-
add->set_flat(true);
843+
add->set_theme_type_variation("FlatMenuButton");
844844
add->set_tooltip_text(TTR("Add a new group."));
845845
add->connect(SceneStringName(pressed), callable_mp(this, &GroupsEditor::_show_add_group_dialog));
846846
hbc->add_child(add);

0 commit comments

Comments
 (0)