diff options
author | Yuri Sizov <yuris@humnom.net> | 2022-07-20 04:00:25 +0300 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2022-07-20 20:43:45 +0300 |
commit | dcd64799effeef6434ca0f027471a322afe42490 (patch) | |
tree | 29ec94fb46bedcb1ce4d334752734c2be3d8287c /editor/plugins/node_3d_editor_plugin.h | |
parent | 5777ec590bb311a8ca3e2daf20d86e483cce7101 (diff) |
Use FlowContainer to handle toolbar overflow more gracefully
Diffstat (limited to 'editor/plugins/node_3d_editor_plugin.h')
-rw-r--r-- | editor/plugins/node_3d_editor_plugin.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.h b/editor/plugins/node_3d_editor_plugin.h index 8a602be08b..c98022bcf7 100644 --- a/editor/plugins/node_3d_editor_plugin.h +++ b/editor/plugins/node_3d_editor_plugin.h @@ -664,11 +664,10 @@ private: void _menu_gizmo_toggled(int p_option); void _update_camera_override_button(bool p_game_running); void _update_camera_override_viewport(Object *p_viewport); - HBoxContainer *hbc_menu = nullptr; // Used for secondary menu items which are displayed depending on the currently selected node // (such as MeshInstance's "Mesh" menu). - PanelContainer *context_menu_container = nullptr; - HBoxContainer *hbc_context_menu = nullptr; + PanelContainer *context_menu_panel = nullptr; + HBoxContainer *context_menu_hbox = nullptr; void _generate_selection_boxes(); UndoRedo *undo_redo = nullptr; |