mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-10-09 23:26:31 +00:00
reverse
This commit is contained in:
1 parent
df07892e76
commit
a48608840f
6 files changed
+493
-265
No files matched your search
@@ -636,6 +636,15 @@ class Engine {
|
||||
return this.run((w) => w.new_track_segment());
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverses the direction of the selection: the whole of each selected file or track, or each
|
||||
* selected segment on its own. The timestamps are mirrored. Resolves to `false` when there is
|
||||
* nothing to reverse (fewer than two trackpoints).
|
||||
*/
|
||||
reverse() {
|
||||
return this.run((w) => w.reverse());
|
||||
}
|
||||
|
||||
metadata(name: string, desc: string) {
|
||||
return this.run((w) => w.metadata(name, desc));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user