always set shift to true on press
This commit is contained in:
parent
89dbabf1d2
commit
9c3713d0c6
@ -100,9 +100,8 @@ function main() {
|
|||||||
tempLineTool = true;
|
tempLineTool = true;
|
||||||
whiteboard.ownCursor.hide();
|
whiteboard.ownCursor.hide();
|
||||||
shortcutFunctions.setTool_line();
|
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) {
|
} else if (e.which == 17) {
|
||||||
strgPressed = true;
|
strgPressed = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user