mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-15 12:53:52 +01:00
disable auto-solving if shift held
This commit is contained in:
parent
5d73b05405
commit
63cfe69b5e
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue