a11y/zoom: Allow disabling scroll-shortcuts

This commit is contained in:
Victoria Brekenfeld 2025-03-25 14:42:20 +01:00 committed by Victoria Brekenfeld
parent b62e47ef8d
commit 83a7926748
2 changed files with 10 additions and 1 deletions

View file

@ -133,6 +133,7 @@ pub struct ZoomConfig {
pub show_overlay: bool,
pub increment: u32,
pub view_moves: ZoomMovement,
pub enable_mouse_zoom_shortcuts: bool,
}
impl Default for ZoomConfig {
@ -142,6 +143,7 @@ impl Default for ZoomConfig {
show_overlay: true,
increment: 50,
view_moves: ZoomMovement::Continuously,
enable_mouse_zoom_shortcuts: true,
}
}
}