emojier: allow zooming the emoji grid with Ctrl+scroll
Original commit message(s)
- emojier: allow zooming the emoji grid with Ctrl+scroll
Ctrl+wheel over the emoji grid now enlarges or shrinks the cells, clamped between 1.5 and 8 grid units. Plain scrolling is unaffected and still scrolls the list.
The glyph font size is derived from the cell height instead of a fixed point size, so it scales with the zoom (this also lets the inert minimumPointSize be dropped). Size changes are coalesced on a short throttle so a fast wheel spin triggers at most one relayout per frame instead of one per event. The skin-tone variant popup tracks the same size.
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
Reason for the change
For those who are eyesight challenged, or know that their emojis will be scaled up when presented in their application, it is important to be able to judge an emoji's suitability and appearance at the correct scale. This is now possible with the scroll-zoom feature this PR is offering.
Test plan
Just hold down ctrl and scroll the mousewheel over the main window to see the size of the emojis change. There should be no clipping, normal scroll should work, no weirdly tiny emojis, and it should run fast.
Screenshots or screen recordings
BEFORE
AFTER

