Skip to content

Feature: ScrollView switch delta X and Y when holding shift #62

Description

@Tcat2000

Describe the problem related to the feature request

For (I think most) hardware, you cannot scroll horizontally, meaning when you have a ScrollerView set to both scroll directions, you have to drag the scroller to more horizontally. Most applications allow holding shift to switch vertical scroll directions.

Describe the solution you'd like

in com.lowdragmc.lowdraglib2.gui.ui.elements.ScrollerView#onScrollWheel
switch the deltaX and deltaY usage, if the shift key is down.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions