mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-09-22 08:02:24 +00:00
`mouse_scroll_multiplier` is clamped to 0.1..=10, and the reference page says so. The slider spanned 0.5..=5.0. Two things followed. Half the documented range could not be set from the window at all — 0.2 and 8 are storable, keepable values with no position on the control that owns them. And a hand-set 8x drew a thumb pinned at the slider's own maximum, three quarters of the way along a track whose end means 5; the number beside it read "8.00x", so the control and its own readout disagreed on screen. Its two sibling sliders each span exactly their clamp — window opacity 0.2..=1.0, background-image opacity 0..=1 — so this was the outlier rather than the convention. It now reads its ends from named constants beside the clamp, which is where `ui_font_size` and the panel widths already keep theirs (#550), so the two cannot part again. The step drops to a tenth: the wider span has to keep 1.00 a position you land on rather than something to be hit between two. The test holds both ends through a `sanitize`, so the ends the slider offers are ends the file keeps, and checks the reference page still names the same pair — it is the third copy of the range and the one a reader meets first. Checked against an injected wrong range, not only a green tree.