cosmic-comp/cosmic-comp-config/src
Tom Grushka 738e0b3124 a11y: magnifier: change zoom stepping to multiplicative, bound max, add presets
1. Change magnifier zoom stepping from additive to multiplicative,
   because zoom is a ratio, not a difference, and human perception is
   logarithmic (browser zoom steps, map zoom levels, microscope powers).

2. Add `pub const ZoomConfig::ZOOM_INCREMENT_PRESETS` with two
   additional presets: 10% (macOS, Cinnamon) and 75% (for users at
   70-90x zoom).

3. Bound the zoom level to a generous maximum, beyond what anyone is expected
   to need, to prevent runaway / unrecoverable levels (#1230).

Full background and rationale at #2615.

I used AI to assist with research and issue writeup. Code is 100% mine.

- Closes #2615.
- Fixes #1239.
- Partially addresses #1230 and #1237.
2026-08-21 22:56:16 +02:00
..
output wip: cosmic-randr-shell empty serial number for now 2026-03-13 15:56:42 -04:00
input.rs chore: clippy 2026-03-18 18:19:03 +01:00
lib.rs a11y: magnifier: change zoom stepping to multiplicative, bound max, add presets 2026-08-21 22:56:16 +02:00
workspace.rs feat: allow naming pinned workspaces 2026-06-15 23:11:31 +02:00