mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Merge pull request #10 from nkoder/fix_rectangle_tool_keyboard_shortcut
Add missing keyboard shortcut handler for Rectangle tool
This commit is contained in:
commit
7a975976cb
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user