aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/history.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/history.rs b/src/history.rs
index 2e16cae..48ee7db 100644
--- a/src/history.rs
+++ b/src/history.rs
@@ -40,7 +40,12 @@ impl History {
if overall_queue_motion == 0 {
return None;
}
- gloo::console::log!("time", overall_time_elapsed, "motion", overall_queue_motion);
+ gloo::console::log!(
+ "time",
+ overall_time_elapsed.to_string(),
+ "motion",
+ overall_queue_motion
+ );
let duration_per_step = overall_time_elapsed / overall_queue_motion as i32;
let remaining_duration = duration_per_step * last_size as i32;
let completion_time = last_time + remaining_duration;