mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-10-10 07:36:29 +00:00
progress
This commit is contained in:
1 parent
594d714b7f
commit
c536e6247b
8 files changed
+89
-82
No files matched your search
@@ -99,12 +99,10 @@
|
||||
link,
|
||||
};
|
||||
if (target) {
|
||||
// the engine changes the selected waypoint
|
||||
await engine.selectWaypoints(target.fileId, [target.id]);
|
||||
await engine.updateWaypoint(waypoint);
|
||||
engine.updateWaypoint(target.fileId, target.id, waypoint);
|
||||
} else {
|
||||
// it goes in the selected files
|
||||
await engine.newWaypoint(waypoint);
|
||||
engine.newWaypoint(waypoint);
|
||||
}
|
||||
|
||||
reset();
|
||||
|
||||
Reference in new issue
Block a user