From a0cc2290cbff36db824e99d1b1f5b7b930eff628 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Sat, 4 Dec 2021 18:15:11 -0700 Subject: debugging in production can i get a hell yeah --- src/history.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/history.rs b/src/history.rs index 5216d10..2e16cae 100644 --- a/src/history.rs +++ b/src/history.rs @@ -40,6 +40,7 @@ impl History { if overall_queue_motion == 0 { return None; } + gloo::console::log!("time", overall_time_elapsed, "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; -- cgit v1.2.3