From 5da37b92f2785639a0be7bbfe0fae5d0f381f4fb Mon Sep 17 00:00:00 2001 From: nkoder Date: Wed, 28 Apr 2021 22:55:36 +0200 Subject: [PATCH] Add missing keyboard shortcut handler for Rectangle tool --- js/_hotkeyListener.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/_hotkeyListener.js b/js/_hotkeyListener.js index dd48967..c1912f0 100644 --- a/js/_hotkeyListener.js +++ b/js/_hotkeyListener.js @@ -65,6 +65,10 @@ function KeyPress(e) { case 77: case 109: tool.rectselect.switchTo() break; + // rectangle tool, u + case 85: + tool.rectangle.switchTo() + break; // Paste tool case 86: case 118: if (keyboardEvent.ctrlKey && !dragging) {