mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Fixed character hotkey for the eraser tool.
Signed-off-by: npalomba <nicola.palomba@studenti.galileilivorno.gov.it>
This commit is contained in:
parent
5bbfff5fae
commit
7b26ebb5fd
@ -34,8 +34,9 @@ function KeyPress(e) {
|
||||
changeTool('zoom');
|
||||
break;
|
||||
// eraser -6, r
|
||||
case 54: case 72:
|
||||
changeTool('eraser');
|
||||
case 54: case 82:
|
||||
console.log("Pressed r");
|
||||
changeTool('eraser');
|
||||
break;
|
||||
//Z
|
||||
case 90:
|
||||
|
Loading…
Reference in New Issue
Block a user