From 0ac563bc6fc3c3e5e49aa141a3c95f603d8514c1 Mon Sep 17 00:00:00 2001 From: spinline Date: Wed, 4 Feb 2026 17:37:03 +0300 Subject: [PATCH] chore: debug speed limit selection mismatch --- frontend/src/components/layout/statusbar.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/frontend/src/components/layout/statusbar.rs b/frontend/src/components/layout/statusbar.rs index e7fc692..692ee31 100644 --- a/frontend/src/components/layout/statusbar.rs +++ b/frontend/src/components/layout/statusbar.rs @@ -131,6 +131,14 @@ pub fn StatusBar() -> impl IntoView { limits.clone().into_iter().map(|(val, label)| { let is_active = move || { let current = stats.get().down_limit.unwrap_or(0); + if down_menu_open.get() { + logging::log!("Down Active Check: current={} (i64), val={} (i64), diff={}, match={}", + current, + val, + (current - val).abs(), + (current - val).abs() < 1024 + ); + } (current - val).abs() < 1024 }; view! {