From 7d08c6c0c0548617d16c9475c5d5a054f0f833ec Mon Sep 17 00:00:00 2001 From: tim h Date: Sun, 20 Aug 2023 12:17:15 -0500 Subject: [PATCH] shortcut key for clearing masks --- js/initalize/shortcuts.populate.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/initalize/shortcuts.populate.js b/js/initalize/shortcuts.populate.js index 357b121..d798316 100644 --- a/js/initalize/shortcuts.populate.js +++ b/js/initalize/shortcuts.populate.js @@ -37,3 +37,6 @@ keyboard.onShortcut({key: "Backquote"}, () => { hax0r.style.display = "none"; } }); +keyboard.onShortcut({key: "Delete"}, () => { + maskPaintLayer.clear(); +});