Add keyboard shortcut for add layer
This commit is contained in:
+3
-1
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user