Skip to content

Allow mouse wheel tilt (left/right) to scroll timeline#6052

Merged
jonoomph merged 1 commit into
developfrom
tilt-scroll-wheel
May 24, 2026
Merged

Allow mouse wheel tilt (left/right) to scroll timeline#6052
jonoomph merged 1 commit into
developfrom
tilt-scroll-wheel

Conversation

@jonoomph
Copy link
Copy Markdown
Member

  • Restored horizontal timeline scrolling via mouse-wheel tilt by handling angleDelta().x() / pixelDelta().x() in wheelEvent() and routing that input through the existing deferred horizontal scroll accumulator/timer path. This allows left/right wheel tilt to scroll without requiring Shift.
  • Kept existing Shift + wheel behavior intact (still mapped to horizontal scrolling using Y delta).
  • Extended timeline helper wheel-event stubs to support X-axis deltas, enabling regression tests for tilt input in unit tests.
  • Added a regression test that verifies horizontal scroll occurs from tilt-wheel input with no modifier keys.

- Restored horizontal timeline scrolling via mouse-wheel tilt by handling angleDelta().x() / pixelDelta().x() in wheelEvent() and routing that input through the existing deferred horizontal scroll accumulator/timer path. This allows left/right wheel tilt to scroll without requiring Shift.
- Kept existing Shift + wheel behavior intact (still mapped to horizontal scrolling using Y delta).
- Extended timeline helper wheel-event stubs to support X-axis deltas, enabling regression tests for tilt input in unit tests.
- Added a regression test that verifies horizontal scroll occurs from tilt-wheel input with no modifier keys.
@jonoomph
Copy link
Copy Markdown
Member Author

@jonoomph jonoomph merged commit 06c5503 into develop May 24, 2026
8 checks passed
@jonoomph jonoomph deleted the tilt-scroll-wheel branch May 24, 2026 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant