a11y/zoom: Drop last state

This commit is contained in:
Victoria Brekenfeld 2025-03-25 14:49:38 +01:00 committed by Victoria Brekenfeld
parent 83a7926748
commit babb96ddfa
4 changed files with 4 additions and 96 deletions

View file

@ -21,7 +21,7 @@ impl A11yHandler for State {
{
let seat = shell.seats.last_active().clone();
let level = if enabled {
self.common.config.dynamic_conf.zoom_state().last_level
1.0 + (self.common.config.cosmic_conf.accessibility_zoom.increment as f64 / 100.0)
} else {
1.0
};