- 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:
@@ -5203,7 +5203,9 @@ editor.init = function () {
|
||||
{key: ['alt+shift+down', true], fn () { svgCanvas.cloneSelectedElements(0, 10); }},
|
||||
{key: ['alt+shift+left', true], fn () { svgCanvas.cloneSelectedElements(-10, 0); }},
|
||||
{key: ['alt+shift+right', true], fn () { svgCanvas.cloneSelectedElements(10, 0); }},
|
||||
{key: 'A', fn () { svgCanvas.selectAllInCurrentLayer(); }},
|
||||
{key: 'a', fn () { svgCanvas.selectAllInCurrentLayer(); }},
|
||||
{key: modKey + 'a', fn () { svgCanvas.selectAllInCurrentLayer(); }},
|
||||
{key: ['esc', false, false], fn () { svgCanvas.clearSelection(); }},
|
||||
|
||||
// Standard shortcuts
|
||||
{key: modKey + 'z', fn: clickUndo},
|
||||
|
||||
Reference in New Issue
Block a user