Add missing keyboard shortcut handler for Rectangle tool

This commit is contained in:
nkoder 2021-04-28 22:55:36 +02:00
parent 855c125f8a
commit 5da37b92f2

View File

@ -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) {