mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Improve the looks of 2D/3D viewport contextual toolbars
This commit is contained in:
parent
221884e6bc
commit
f542dffb39
17 changed files with 152 additions and 107 deletions
|
|
@ -369,8 +369,6 @@ GPUParticles2DEditorPlugin::GPUParticles2DEditorPlugin() {
|
|||
add_control_to_container(CONTAINER_CANVAS_EDITOR_MENU, toolbar);
|
||||
toolbar->hide();
|
||||
|
||||
toolbar->add_child(memnew(VSeparator));
|
||||
|
||||
menu = memnew(MenuButton);
|
||||
menu->get_popup()->add_item(TTR("Restart"), MENU_RESTART);
|
||||
menu->get_popup()->add_item(TTR("Generate Visibility Rect"), MENU_GENERATE_VISIBILITY_RECT);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue