Improve the looks of 2D/3D viewport contextual toolbars

This commit is contained in:
Yuri Sizov 2023-09-11 23:50:10 +02:00
parent 221884e6bc
commit f542dffb39
17 changed files with 152 additions and 107 deletions

View file

@ -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);