From 987f29739a4200af7f07783114d85c610ff9d2bf Mon Sep 17 00:00:00 2001 From: ribawaja Date: Sun, 1 Jan 2023 01:52:52 -0500 Subject: [PATCH] adjust shortcuts --- js/initalize/shortcuts.populate.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/js/initalize/shortcuts.populate.js b/js/initalize/shortcuts.populate.js index 3e44ac0..b7c8279 100644 --- a/js/initalize/shortcuts.populate.js +++ b/js/initalize/shortcuts.populate.js @@ -14,7 +14,7 @@ keyboard.onShortcut({key: "KeyD"}, () => { keyboard.onShortcut({key: "KeyM"}, () => { tools.maskbrush.enable(); }); -keyboard.onShortcut({key: "KeyC"}, () => { +keyboard.onShortcut({key: "KeyB"}, () => { tools.colorbrush.enable(); }); keyboard.onShortcut({key: "KeyI"}, () => { @@ -29,3 +29,6 @@ keyboard.onShortcut({key: "KeyU"}, () => { keyboard.onShortcut({key: "KeyN"}, () => { tools.interrogate.enable(); }); +keyboard.onShortcut({key: "KeyC"}, () => { + maskPaintLayer.clear(); +});