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

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

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

Loading…
Cancel
Save