Skip to content

feat: support x+y scrolling for panning (new style)#841

Open
MichaelHillcox wants to merge 2 commits into
1.21.1/devfrom
feature/scroll-pan-xy
Open

feat: support x+y scrolling for panning (new style)#841
MichaelHillcox wants to merge 2 commits into
1.21.1/devfrom
feature/scroll-pan-xy

Conversation

@MichaelHillcox

Copy link
Copy Markdown
Member

This requires FTBTeam/FTB-Library#198

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the quests UI panning/zoom scroll handling to support independent horizontal + vertical scroll deltas (new-style scrolling), aligning with the upstream FTB-Library change referenced in the PR description.

Changes:

  • Updates QuestPanel.scrollPanel to accept (scrollHorizontal, scrollVertical) and pan on both axes by default.
  • Keeps legacy scroll-wheel zoom behavior when OLD_SCROLL_WHEEL is enabled, and maintains shift/ctrl modifier behavior with the new parameters.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants