Add keyboard shortcut for add layer

This commit is contained in:
Skyler Lehmkuhl 2024-12-22 05:53:12 -05:00
parent a2cbc70d69
commit d21dd003d9
1 changed files with 3 additions and 1 deletions

View File

@ -254,6 +254,7 @@ let config = {
delete: "Backspace", delete: "Backspace",
selectAll: "<mod>a", selectAll: "<mod>a",
group: "<mod>g", group: "<mod>g",
addLayer: "<mod>l",
zoomIn: "<mod>+", zoomIn: "<mod>+",
zoomOut: "<mod>-", zoomOut: "<mod>-",
resetZoom: "<mod>0" resetZoom: "<mod>0"
@ -4759,7 +4760,8 @@ async function updateMenu() {
{ {
text: "Add Layer", text: "Add Layer",
enabled: true, enabled: true,
action: actions.addLayer.create action: actions.addLayer.create,
accelerator: getShortcut("addLayer")
}, },
{ {
text: "Delete Layer", text: "Delete Layer",