aboutsummaryrefslogtreecommitdiffstats
path: root/src/launchselectors.cpp
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-01 10:49:18 +0200
committerDanilo M. <danix@danix.xyz>2026-10-01 10:49:18 +0200
commit9ae9473acdb7cb3310c3028765cc4b30fedfce27 (patch)
tree438576dd9a5b9e4bfc060e3cd22310f3e03a6130 /src/launchselectors.cpp
parent107933409c9044a248ef483734176cbde03cc137 (diff)
downloadqtmaildir-9ae9473acdb7cb3310c3028765cc4b30fedfce27.tar.gz
qtmaildir-9ae9473acdb7cb3310c3028765cc4b30fedfce27.zip
feat: scroll the thread list smoothlyHEADmaster
The list scrolled per ITEM, Qt's default, so a wheel notch jumped several whole cards at once and a touchpad's small deltas were quantised into card-sized jumps. The eye lost track of how far the list had moved. The view now scrolls per pixel, so a touchpad moves it continuously, and ThreadListView::wheelEvent turns each wheel notch into a 160ms eased glide of exactly one card. Notches arriving mid-glide add to its target rather than restarting from where it has got to. Pixel deltas and modified wheels pass through to Qt unchanged. The cost of per-pixel scrolling is that a card can rest half above the top edge. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'src/launchselectors.cpp')
0 files changed, 0 insertions, 0 deletions