scissor tool

This commit is contained in:
vcoppe committed 2024-06-10 20:03:57 +02:00
1 parent 287fd4c8ac
commit 14a81a530c
16 files changed
+428 -89

No files matched your search

@@ -291,7 +291,7 @@ export class RoutingControls {
getPermanentAnchor(): Anchor {
let file = get(this.file)?.file;
// Find the closest point closest to the temporary anchor
// Find the point closest to the temporary anchor
let minDistance = Number.MAX_VALUE;
let minAnchor = this.temporaryAnchor as Anchor;
file?.forEachSegment((segment, trackIndex, segmentIndex) => {