chore: force debug logging for speed limits

This commit is contained in:
spinline
2026-02-04 17:42:12 +03:00
parent 4949b756bd
commit 4bcb998888

View File

@@ -131,14 +131,12 @@ pub fn StatusBar() -> impl IntoView {
limits.clone().into_iter().map(|(val, label)| { limits.clone().into_iter().map(|(val, label)| {
let is_active = move || { let is_active = move || {
let current = stats.get().down_limit.unwrap_or(0); 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={}", logging::log!("Down Active Check: current={} (i64), val={} (i64), diff={}, match={}",
current, current,
val, val,
(current - val).abs(), (current - val).abs(),
(current - val).abs() < 1024 (current - val).abs() < 1024
); );
}
(current - val).abs() < 1024 (current - val).abs() < 1024
}; };
view! { view! {