Files
omarchycn/test/shell.d
David Heinemeier Hansson 6ba0e9c234 Fix monitor scaling down getting stuck at 3x due to floating point drift
Hyprland can report a scale set to 3 as something like 3.0000000000000004.
The previous directional comparison treated that as above the 3 preset, so
Super+Alt+Slash (scale down) would stay at 3 instead of reaching 2.

Snap the reported scale to the nearest preset first, then step up/down.
Add a regression test for the floating-point case.
2026-07-19 09:10:14 -07:00
..
2026-05-25 14:47:08 +02:00
2026-07-18 21:23:09 -07:00
2026-05-25 14:18:39 +02:00
2026-05-25 14:18:39 +02:00
2026-05-27 10:41:12 +02:00
2026-05-25 14:18:39 +02:00
2026-06-25 06:55:11 -04:00
2026-06-12 13:49:46 -04:00
2026-05-25 14:18:39 +02:00
2026-07-17 17:45:29 -07:00
2026-05-25 14:18:39 +02:00
2026-06-21 12:31:06 +02:00
2026-06-04 11:14:04 +02:00
2026-05-27 15:11:36 +02:00