disable auto-solving if shift held

This commit is contained in:
Val Erastov 2014-10-15 00:16:25 -07:00
parent 5d73b05405
commit 63cfe69b5e

View file

@ -622,7 +622,9 @@ TCAD.TWO.DragTool.prototype.mousemove = function(e) {
var checkX = this.ref.x;
var checkY = this.ref.y;
this.obj.translate(dx, dy);
this.solveRequest(2);
if (!e.shiftKey) {
this.solveRequest(2);
}
this.errorX = (this.ref.x - dx) - checkX;
this.errorY = (this.ref.y - dy) - checkY;