Add mirror modeling to edit menu

FIx missing translation for close dialog
Allow menus to be longer before becoming scrolling
This commit is contained in:
JannisX11 2023-07-06 19:33:11 +02:00
parent d4737660a1
commit 91bfca5d21
3 changed files with 5 additions and 4 deletions

View File

@ -609,7 +609,7 @@
margin-top: -4px; margin-top: -4px;
} }
.contextMenu.scrollable { .contextMenu.scrollable {
max-height: min(500px, 100vh); max-height: min(800px, 100vh);
overflow: auto; overflow: auto;
} }
.contextMenu li { .contextMenu li {

View File

@ -615,7 +615,7 @@ window.onbeforeunload = function (event) {
}) })
dialog = new Dialog('close', { dialog = new Dialog('close', {
title: 'Unsaved Projects', title: 'dialog.unsaved_work.title',
lines: [ lines: [
Interface.createElement('p', {}, tl('dialog.unsaved_work.text')), Interface.createElement('p', {}, tl('dialog.unsaved_work.text')),
ul ul

View File

@ -255,9 +255,10 @@ const MenuBar = {
'dissolve_edges', 'dissolve_edges',
'split_mesh', 'split_mesh',
'merge_meshes', 'merge_meshes',
new MenuSeparator('editing_mode'),
'proportional_editing',
]}, ]},
new MenuSeparator('editing_mode'),
'proportional_editing',
'mirror_modeling',
new MenuSeparator('selection'), new MenuSeparator('selection'),
'select_window', 'select_window',
'select_all', 'select_all',