scanner improvements + playback ux

This commit is contained in:
2026-02-02 12:19:03 -05:00
parent 575c3c5675
commit 20874ecff7
4 changed files with 23 additions and 8 deletions

View File

@@ -21,6 +21,7 @@ pub fn Player() -> Element {
Some(Date::from_ordinal_date(now.year(), now.ordinal() as u16).unwrap())
});
let mut zoom = use_signal(|| 1.0 as f32);
let mut time = use_signal(|| 0 as i64);
let playbackResult = use_resource(use_reactive!(|(selected_date)| async move {
let mut client = get_rpc_client();
info!("Load data");
@@ -75,7 +76,7 @@ pub fn Player() -> Element {
}
}
Viewport { }
Timeline { playbackInfo: info, zoom }
Timeline { playbackInfo: info, zoom, time }
}
}
}