fix: Add explicit step to slider to prevent UI locking at bounds

This commit is contained in:
2026-05-27 17:05:16 -04:00
parent 529367ee0c
commit 763dd5eb76
+1 -1
View File
@@ -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(