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,7 +34,8 @@ function KeyPress(e) {
changeTool('zoom');
break;
// eraser -6, r
case 54: case 72:
case 54: case 82:
console.log("Pressed r");
changeTool('eraser');
break;
//Z