zoom_or_pan, fix first row width
This commit is contained in:
parent
7107f77c82
commit
60d4231575
12 changed files with 92 additions and 79 deletions
|
@ -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,
|
||||
|
|
Reference in a new issue