rebind default clear whiteboard to ctrl+shift+del

This commit is contained in:
Raphael 2022-06-10 11:04:10 +02:00
parent 3a1b5f5542
commit 1da9c4cba4
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ The following are predefined shortcuts that you can override in the file [./src/
| Result | Windows and Linux | macOS |
| ---------------------------------------------------------------- | -------------------- | ----------------------- |
| Clear the whiteboard | Ctrl + Shift + Z | Command + Shift + Z |
| Clear the whiteboard | Ctrl + Shift + Del | Command + Shift + Del |
| Undo your last step | Ctrl + Z | Command + Z |
| Redo your last undo | Ctrl + Y | Command + Y |
| Select an area | Ctrl + X | Command + X |

View File

@ -7,7 +7,7 @@
const keybinds = {
// 'key(s)' : 'function',
"defmod-shift-z": "clearWhiteboard",
"defmod-shift-del": "clearWhiteboard",
"defmod-z": "undoStep",
"defmod-y": "redoStep",
"defmod-x": "setTool_recSelect",