Merge pull request #105944 from syntaxerror247/main-menu

Add editor setting to collapse main menu into a `MenuButton`
This commit is contained in:
Thaddeus Crews 2025-05-07 12:48:29 -05:00
commit c714743bb1
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
5 changed files with 169 additions and 35 deletions

View file

@ -240,7 +240,6 @@ TouchActionsPanel::TouchActionsPanel() {
}
box = memnew(BoxContainer);
box->set_alignment(BoxContainer::ALIGNMENT_CENTER);
box->add_theme_constant_override("separation", 20);
if (is_floating) {
box->set_vertical(EDITOR_DEF("_touch_actions_panel_vertical_layout", false));