Liveries panel: Ctrl + wheel resizes the sticker again #499
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/holdmysocks--SixNG!499
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-499"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@holdmysocks on GitHub · 2026-11-27 19:28 UTC · original
holdmysocks:claude/livery-ctrl-wheel→master· +15 −1 · 1 files · 1 commits · merged 2026-11-27 19:39 UTCWhat
Ctrl + wheel on the model resizes the chosen sticker again, and Ctrl + Shift + wheel changes its height. Found in a pass through the Liveries panel with a real mouse and keyboard: both gestures did nothing, while Shift + wheel (width) and Alt + wheel (rotation) worked.
Cause: with Ctrl held the UI library takes the wheel as a zoom gesture and reports no scroll, so the panel's "scroll with Ctrl" never happened. The scroll is now worked back from the zoom factor (zoom = exp(scroll / 200)). The gesture runs on for a few frames after the wheel stops, so it counts as Ctrl also when the key is already up; a pinch on a touchpad arrives the same way and resizes too.
Checked
By real mouse and keyboard input on the box truck (Windows), reading the numbers in the panel:
cargo test -p sixng-gui: 60 pass.cargo build --release -p sixng-guiwithout warnings.The same pass found the rest of the panel working by mouse: the sticker picker, clicking wall panels, dragging the sticker on the model, the sliders, the 90° / mirror / colour mask controls, duplicate, reorder, hide, delete, Clear, Undo and Redo by button and by Ctrl+Z / Ctrl+Y, and the four file dialogs (PNG file, save a copy, open a livery file, export as GLB).
Not decoded / not done