From ec60933e01728524d7b52ac5ebe0f7153c5c990a Mon Sep 17 00:00:00 2001 From: Victoria Brekenfeld Date: Tue, 25 Mar 2025 18:13:51 +0100 Subject: [PATCH] a11y/zoom: Add more leeway for OnEdge movement --- src/shell/zoom.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell/zoom.rs b/src/shell/zoom.rs index 01f416a9..455e6819 100644 --- a/src/shell/zoom.rs +++ b/src/shell/zoom.rs @@ -280,7 +280,7 @@ impl ZoomState { ZoomMovement::Continuously => output_state_ref.focal_point = cursor_position.to_f64(), ZoomMovement::OnEdge => { if !zoomed_output_geometry - .overlaps_or_touches(Rectangle::new(original_position, Size::from((1, 1)))) + .overlaps_or_touches(Rectangle::new(original_position, Size::from((16, 16)))) { zoomed_output_geometry.loc = cursor_position.to_global(&output) - zoomed_output_geometry.size.downscale(2).to_point();