Fixed character hotkey for the eraser tool.

Signed-off-by: npalomba <nicola.palomba@studenti.galileilivorno.gov.it>
This commit is contained in:
npalomba 2019-03-31 12:24:11 +02:00
parent 5bbfff5fae
commit 7b26ebb5fd

View File

@ -34,8 +34,9 @@ function KeyPress(e) {
changeTool('zoom'); changeTool('zoom');
break; break;
// eraser -6, r // eraser -6, r
case 54: case 72: case 54: case 82:
changeTool('eraser'); console.log("Pressed r");
changeTool('eraser');
break; break;
//Z //Z
case 90: case 90: