Skip to content

Support trackpad scroll on Desktop platforms#183

Merged
rayliverified merged 1 commit intoCodelessly:masterfrom
Trefa1998:master
Aug 26, 2024
Merged

Support trackpad scroll on Desktop platforms#183
rayliverified merged 1 commit intoCodelessly:masterfrom
Trefa1998:master

Conversation

@Trefa1998
Copy link
Contributor

Refactored scroll_behavior.dart to add const constructors and use TargetPlatform dragDevices as a baseline even if dragWithMouse enabled.

The methodology I used is one way of accomplishing this which I thought made the most sense though it isn't necessarily the most immediately obvious. The simpler solution would have been to just add the trackpad device manually, but I think this approach covers the bases more dynamically.

I'm happy to make any additional tweaks that may be desired to get this merged (such as upping the version in the pubspec, which I haven't done in case there was anything else that wanted to be added)

…getPlatform dragDevices as a baseline even if dragWithMouse enabled
@rayliverified
Copy link
Contributor

rayliverified commented Aug 6, 2024 via email

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