Add keyboard shortcut for add layer
This commit is contained in:
parent
a2cbc70d69
commit
d21dd003d9
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue