From 763dd5eb763be19106c795d41ab1c9e4fdc97661 Mon Sep 17 00:00:00 2001 From: Mollusk Date: Wed, 27 May 2026 17:05:16 -0400 Subject: [PATCH] fix: Add explicit step to slider to prevent UI locking at bounds --- src/app/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/mod.rs b/src/app/mod.rs index 504fc33..54a6fb0 100644 --- a/src/app/mod.rs +++ b/src/app/mod.rs @@ -394,7 +394,7 @@ fn view(state: &AppState) -> Element<'_, AppMessage> { vertical_space(20.0), column![ text(format!("Mic Sensitivity (Noise Gate): {:.1}%", state.config.noise_gate_threshold * 100.0)).size(14).color(color_subtext), - slider(0.0..=0.1, state.config.noise_gate_threshold, AppMessage::NoiseGateChanged) + slider(0.0..=0.1, state.config.noise_gate_threshold, AppMessage::NoiseGateChanged).step(0.001) ].spacing(10).width(iced::Length::Fixed(320.0)), vertical_space(30.0), button(