diff --git a/src/input/actions.rs b/src/input/actions.rs index adabb8a6..8a5ef84c 100644 --- a/src/input/actions.rs +++ b/src/input/actions.rs @@ -1125,6 +1125,7 @@ impl State { current_level * factor } .clamp(1.0, MAX_ZOOM); + let new_level = if new_level < 1.01 { 1.0 } else { new_level }; shell.trigger_zoom( seat, Some(&output),