开发:修复切线捕捉Jig没有销毁

pull/2879/MERGE
ChenX 3 months ago
parent 5519896469
commit 83f1c475ef

@ -100,6 +100,7 @@ export class DrawLine implements Command
while (true) while (true)
{ {
JigUtils.Destroy();
let line = new Line(ptLast.clone()); let line = new Line(ptLast.clone());
if (pts.length === 1 && firstSnapModeIsTan) if (pts.length === 1 && firstSnapModeIsTan)
JigUtils.Draw(line);//我们用这个来代替橡皮筋 JigUtils.Draw(line);//我们用这个来代替橡皮筋
@ -179,7 +180,6 @@ export class DrawLine implements Command
drawLines.push(line); drawLines.push(line);
ptLast = line.EndPoint; ptLast = line.EndPoint;
pts.push(ptLast); pts.push(ptLast);
JigUtils.Destroy();
continue; continue;
} }
//正常画线 //正常画线

Loading…
Cancel
Save