keep original flag

This commit is contained in:
vcoppe committed 2026-10-16 08:54:40 +02:00
1 parent 55a8b020e0
commit 187296a277
8 files changed
+350 -35

No files matched your search

+1 -1
View File
@@ -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))
}
+2 -2
View File
@@ -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.