mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-10-17 08:42:28 +00:00
keep original flag
This commit is contained in:
1 parent
55a8b020e0
commit
187296a277
8 files changed
+350
-35
No files matched your search
@@ -62,5 +62,5 @@ pub fn change_loop_start(revision: u32, index: u32) -> Outcome {
|
||||
/// nothing, and returns false, if the revision of the routing buffers is not the given one.
|
||||
#[wasm_bindgen]
|
||||
pub fn split(revision: u32, at: u32, split_type: SplitType) -> Outcome {
|
||||
run(|e| api::split(e, revision, at, split_type.into()))
|
||||
run(|e| api::split(e, revision, at, split_type.into(), false))
|
||||
}
|
||||
@@ -55,12 +55,12 @@ pub fn create_artificial_timestamps(start_time: f64, total_time: f64) -> Outcome
|
||||
/// that are connected closer in time, if they have timestamps.
|
||||
#[wasm_bindgen]
|
||||
pub fn merge(type_: MergeType, remove_gaps: bool) -> Outcome {
|
||||
run(|e| api::merge(e, type_.into(), remove_gaps))
|
||||
run(|e| api::merge(e, type_.into(), remove_gaps, false))
|
||||
}
|
||||
|
||||
#[wasm_bindgen]
|
||||
pub fn extract() -> Outcome {
|
||||
run(api::extract)
|
||||
run(|e| api::extract(e, false))
|
||||
}
|
||||
|
||||
/// Sets the elevation of the trackpoints of the selection, one elevation per trackpoint.
|
||||
|
||||
Reference in new issue
Block a user