mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-15 21:05:22 +01:00
fix aux bug
This commit is contained in:
parent
201142b3ed
commit
3029bf6a9a
1 changed files with 2 additions and 2 deletions
|
|
@ -991,7 +991,7 @@ DragTool.prototype.mousemove = function(e) {
|
|||
}
|
||||
this.solver.updateLock(this.lockedValues);
|
||||
if (!e.altKey && !e.ctrlKey) {
|
||||
this.solveRequest(true);
|
||||
this.solveRequest(true);
|
||||
} else {
|
||||
this.obj.translate(dx, dy);
|
||||
}
|
||||
|
|
@ -1045,7 +1045,7 @@ DragTool.prototype.solveRequest = function(rough) {
|
|||
DragTool.prototype.getParamsToLock = function() {
|
||||
var params = [];
|
||||
this.obj.accept(function(obj) {
|
||||
if (obj._class === 'TCAD.TWO.EndPoint') {
|
||||
if (obj._class === 'TCAD.TWO.EndPoint' && !obj.isAuxOrLinkedTo()) {
|
||||
params.push(obj._x);
|
||||
params.push(obj._y);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue