always set shift to true on press

This commit is contained in:
raphael 2020-05-04 14:42:25 +02:00
parent 89dbabf1d2
commit 9c3713d0c6

View File

@ -100,9 +100,8 @@ function main() {
tempLineTool = true;
whiteboard.ownCursor.hide();
shortcutFunctions.setTool_line();
} else {
whiteboard.pressedKeys["shift"] = true; //Used for straight lines...
}
whiteboard.pressedKeys["shift"] = true; //Used for straight lines...
} else if (e.which == 17) {
strgPressed = true;
}