mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-11-15 07:07:07 +00:00
scissor tool
This commit is contained in:
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) => {
|
||||
|
||||
Reference in new issue
Block a user