a11y/zoom: Allow hiding the overlay

This commit is contained in:
Victoria Brekenfeld 2025-03-25 14:38:35 +01:00 committed by Victoria Brekenfeld
parent b0d0bfb034
commit b62e47ef8d
4 changed files with 19 additions and 15 deletions

View file

@ -73,7 +73,7 @@ fn render_input_order_internal<R: 'static>(
if shell
.zoom_state
.as_ref()
.is_some_and(|state| state.current_level() != 1.0)
.is_some_and(|state| state.show_overlay && state.current_level() != 1.0)
{
callback(Stage::ZoomUI)?;
}