zoom_or_pan, fix first row width

This commit is contained in:
Martin Kavík 2024-06-11 22:42:14 +02:00
parent 7107f77c82
commit 60d4231575
12 changed files with 92 additions and 79 deletions

View file

@ -42,9 +42,9 @@ async fn get_hierarchy(store: tauri::State<'_, Store>) -> Result<serde_json::Val
#[tauri::command(rename_all = "snake_case")]
async fn load_signal_and_get_timeline(
signal_ref_index: usize,
timeline_width: u32,
timeline_zoom: f64,
timeline_viewport_width: u32,
timeline_viewport_x: u32,
timeline_viewport_x: i32,
block_height: u32,
var_format: shared::VarFormat,
store: tauri::State<'_, Store>,
@ -60,7 +60,7 @@ async fn load_signal_and_get_timeline(
shared::signal_to_timeline(
signal,
time_table,
timeline_width,
timeline_zoom,
timeline_viewport_width,
timeline_viewport_x,
block_height,