- Enhancement: Allow 'a' also with meta key (command in Mac, ctrl otherwise)
to select all (part of #291) - Enhancement: Add a global escape key listener to clear the selection - Refactoring: Change 'a' to lower case in key command to avoid impression that shift is needed
This commit is contained in:
12
dist/index-es.js
vendored
12
dist/index-es.js
vendored
@@ -33404,10 +33404,20 @@ editor.init = function () {
|
||||
svgCanvas.cloneSelectedElements(10, 0);
|
||||
}
|
||||
}, {
|
||||
key: 'A',
|
||||
key: 'a',
|
||||
fn: function fn() {
|
||||
svgCanvas.selectAllInCurrentLayer();
|
||||
}
|
||||
}, {
|
||||
key: modKey + 'a',
|
||||
fn: function fn() {
|
||||
svgCanvas.selectAllInCurrentLayer();
|
||||
}
|
||||
}, {
|
||||
key: ['esc', false, false],
|
||||
fn: function fn() {
|
||||
svgCanvas.clearSelection();
|
||||
}
|
||||
}, // Standard shortcuts
|
||||
{
|
||||
key: modKey + 'z',
|
||||
|
||||
2
dist/index-es.min.js
vendored
2
dist/index-es.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/index-es.min.js.map
vendored
2
dist/index-es.min.js.map
vendored
File diff suppressed because one or more lines are too long
12
dist/index-umd.js
vendored
12
dist/index-umd.js
vendored
@@ -33410,10 +33410,20 @@
|
||||
svgCanvas.cloneSelectedElements(10, 0);
|
||||
}
|
||||
}, {
|
||||
key: 'A',
|
||||
key: 'a',
|
||||
fn: function fn() {
|
||||
svgCanvas.selectAllInCurrentLayer();
|
||||
}
|
||||
}, {
|
||||
key: modKey + 'a',
|
||||
fn: function fn() {
|
||||
svgCanvas.selectAllInCurrentLayer();
|
||||
}
|
||||
}, {
|
||||
key: ['esc', false, false],
|
||||
fn: function fn() {
|
||||
svgCanvas.clearSelection();
|
||||
}
|
||||
}, // Standard shortcuts
|
||||
{
|
||||
key: modKey + 'z',
|
||||
|
||||
2
dist/index-umd.min.js
vendored
2
dist/index-umd.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/index-umd.min.js.map
vendored
2
dist/index-umd.min.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user