- 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:
Brett Zamir
2018-10-02 13:19:01 +08:00
parent 3d2085c991
commit 2a943cd1fa
10 changed files with 56 additions and 9 deletions

View File

@@ -33407,10 +33407,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',