Skip to content

Enable horizontal scrolling without shift modifier#2392

Merged
hecrj merged 1 commit intoiced-rs:masterfrom
woelfman:fix-horizontal-scroll
Sep 8, 2024
Merged

Enable horizontal scrolling without shift modifier#2392
hecrj merged 1 commit intoiced-rs:masterfrom
woelfman:fix-horizontal-scroll

Conversation

@woelfman
Copy link
Contributor

fixes #2359

The current implementation strictly scrolls vertically without the shift modifier and horizontally with the shift modifier. This patch checks the modifier only when the direction is Both.

@woelfman woelfman force-pushed the fix-horizontal-scroll branch from 447a0cf to 41ef776 Compare May 14, 2024 02:16
@hecrj hecrj added this to the 0.13 milestone Sep 8, 2024
@hecrj hecrj added feature New feature or request widget addition labels Sep 8, 2024
@hecrj hecrj force-pushed the fix-horizontal-scroll branch from 41ef776 to 0a0ea30 Compare September 8, 2024 17:04
Copy link
Member

@hecrj hecrj left a comment

Choose a reason for hiding this comment

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

Thanks!

@hecrj hecrj enabled auto-merge September 8, 2024 17:04
@hecrj hecrj merged commit 630f352 into iced-rs:master Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

addition feature New feature or request widget

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot use mousewheel without shift to scoll a horizontal-only scrollable.

2 participants

Comments