mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
support undo/redo for azerty keyboards (#630)
* support undo/redo for azerty keyboards * migrate to event.key * remove unnecessary shiftKey check Co-authored-by: David Luzar <luzar.david@gmail.com>
This commit is contained in:
parent
46791e6da1
commit
7c9e6dd3f1
4 changed files with 9 additions and 10 deletions
|
@ -9,5 +9,5 @@ export const actionSelectAll: Action = {
|
|||
};
|
||||
},
|
||||
contextItemLabel: "labels.selectAll",
|
||||
keyTest: event => event[KEYS.META] && event.code === "KeyA",
|
||||
keyTest: event => event[KEYS.META] && event.key === "a",
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue