From 1da9c4cba464cb696174d8650889baaa1443d1ab Mon Sep 17 00:00:00 2001 From: Raphael Date: Fri, 10 Jun 2022 11:04:10 +0200 Subject: [PATCH] rebind default clear whiteboard to ctrl+shift+del --- README.md | 2 +- src/js/keybinds.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c4b3771..a4e5c52 100644 --- a/README.md +++ b/README.md @@ -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 | diff --git a/src/js/keybinds.js b/src/js/keybinds.js index 1a033db..f9d1661 100644 --- a/src/js/keybinds.js +++ b/src/js/keybinds.js @@ -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",