mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-03-19 17:01:55 +08:00
Add new preferences submenu
This commit is contained in:
parent
806bbd61a0
commit
91a2d83afd
@ -1298,6 +1298,20 @@ const BARS = {
|
||||
keybind: new Keybind({key: 69, ctrl: true}),
|
||||
click: function () {Settings.open()}
|
||||
})
|
||||
new Action('keybindings_window', {
|
||||
name: tl('dialog.settings.keybinds') + '...',
|
||||
icon: 'keyboard',
|
||||
category: 'blockbench',
|
||||
keybind: new Keybind({key: 69, ctrl: true}),
|
||||
click: function () {Settings.open({tab: 'keybindings'})}
|
||||
})
|
||||
new Action('theme_window', {
|
||||
name: tl('dialog.settings.theme') + '...',
|
||||
icon: 'style',
|
||||
category: 'blockbench',
|
||||
keybind: new Keybind({key: 69, ctrl: true}),
|
||||
click: function () {Settings.open({tab: 'layout_settings'})}
|
||||
})
|
||||
new Action('reload', {
|
||||
icon: 'refresh',
|
||||
category: 'file',
|
||||
|
@ -509,26 +509,12 @@ const MenuBar = {
|
||||
]},
|
||||
'export_over',
|
||||
'export_asset_archive',
|
||||
|
||||
/*
|
||||
'open_model',
|
||||
{name: 'menu.file.import', id: 'import', icon: 'insert_drive_file', children: [
|
||||
'add_model',
|
||||
'extrude_texture'
|
||||
]},
|
||||
{name: 'menu.file.export', id: 'export', icon: 'insert_drive_file', children: [
|
||||
'export_blockmodel',
|
||||
'export_entity',
|
||||
'export_class_entity',
|
||||
'export_optifine_part',
|
||||
'export_optifine_full',
|
||||
'export_obj',
|
||||
]},
|
||||
'upload_sketchfab'
|
||||
'save',
|
||||
*/
|
||||
'_',
|
||||
'settings_window',
|
||||
{name: 'menu.file.preferences', id: 'preferences', icon: 'tune', children: [
|
||||
'settings_window',
|
||||
'keybindings_window',
|
||||
'theme_window',
|
||||
]},
|
||||
'plugins_window',
|
||||
'edit_session'
|
||||
])
|
||||
|
@ -1022,6 +1022,7 @@
|
||||
"menu.file.recent": "Recent",
|
||||
"menu.file.import": "Import",
|
||||
"menu.file.export": "Export",
|
||||
"menu.file.preferences": "Preferences",
|
||||
"menu.transform.rotate": "Rotate",
|
||||
"menu.transform.flip": "Flip",
|
||||
"menu.transform.center": "Center",
|
||||
|
Loading…
x
Reference in New Issue
Block a user