1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-19 14:31:59 +00:00

Use FlowContainer to handle toolbar overflow more gracefully

This commit is contained in:
Yuri Sizov
2022-07-20 17:22:36 +03:00
parent e830d9d7cc
commit 842c3a644f
4 changed files with 85 additions and 77 deletions

View File

@@ -712,11 +712,10 @@ private:
void _update_camera_override_button(bool p_game_running);
void _update_camera_override_viewport(Object *p_viewport);
HBoxContainer *hbc_menu;
// Used for secondary menu items which are displayed depending on the currently selected node
// (such as MeshInstance's "Mesh" menu).
PanelContainer *context_menu_container;
HBoxContainer *hbc_context_menu;
PanelContainer *context_menu_panel = nullptr;
HBoxContainer *context_menu_hbox = nullptr;
void _generate_selection_boxes();
UndoRedo *undo_redo;