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

@ -130,6 +130,7 @@ fn default_repeat_delay() -> u32 {
#[derive(Debug, Clone, Copy, PartialEq, Eq, Deserialize, Serialize)]
pub struct ZoomConfig {
pub start_on_login: bool,
pub show_overlay: bool,
pub increment: u32,
pub view_moves: ZoomMovement,
}
@ -138,6 +139,7 @@ impl Default for ZoomConfig {
fn default() -> Self {
ZoomConfig {
start_on_login: false,
show_overlay: true,
increment: 50,
view_moves: ZoomMovement::Continuously,
}