mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-24 10:09:32 -06:00
Settings > Appearance > UI Scale offered only 75, 100, 125, 150, 175 and 200 %, so a size between 75 and 100 wasn't possible. It is now the shared numeric field (Kind::Int(75, 200, "%")): type or drag any whole percentage. The engine already stored the scale as a clamped integer and the UI applies it with set_zoom_factor, so the range, the default, live preview, Cancel and saved preferences are unchanged; the preset list goes. Numeric settings now apply a typed number once it is entered (Enter or leaving the field), not at every keystroke: typing 85 used to apply the partial 8, clamped to 75, and resize the whole interface before the 5. Dragging still applies as it moves. Tests: the UI Scale test types 85 a key at a time (nothing applies and the field keeps the keyboard until Enter), Cancel, 50 and 300 clamp to 75 and 200, 90 with OK, and a new app with the saved preferences starts at 90 %. The GPU Information transaction test types 125.