Skip to content

Min pan distance - #452

Open
mattnathan wants to merge 1 commit into
timmywil:mainfrom
vanti-dev:min-pan-distance
Open

Min pan distance#452
mattnathan wants to merge 1 commit into
timmywil:mainfrom
vanti-dev:min-pan-distance

Conversation

@mattnathan

Copy link
Copy Markdown

This change makes it possible to configure a minimum distance that is used as a threshold to determine whether to begin a pan or zoom operation when triggered via pointer events.

This option can help in situations when small movements during a click/tap cause the element to move slightly which is a little off putting.

Fixes: #441

@mattnathan

Copy link
Copy Markdown
Author

I haven't added any tests (or checked that they are working) - I'm using this PR as a base for the change to be applied and as a place to discuss the approach. Hope that's ok.

This change makes it possible to configure a minimum distance that is used as a threshold to determine whether to begin a pan or zoom operation when triggered via pointer events.

This option can help in situations when small movements during a click/tap cause the element to move slightly which is a little off putting.
Base automatically changed from master to main January 11, 2021 21:53
@spacecowgoesmoo spacecowgoesmoo mentioned this pull request May 17, 2022
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