Skip to content

input extremely and overly sensitive mouse response - #25

Merged
banesullivan merged 2 commits into
Kitware:masterfrom
denphi:master
Jan 14, 2021
Merged

banesullivan merged 2 commits into
Kitware:masterfrom
denphi:master

Conversation

@denphi

@denphi denphi commented Jan 13, 2021

Copy link
Copy Markdown
Contributor

Mouse events on Firefox not always return the offsetX/Y Property, sometimes the response is 0 generating a weird user interaction response. This PR fixes the problem by recalculating the offsetX/Y property by subtracting clientX/Y and boundingRectLeft/Top properties

@banesullivan banesullivan 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.

Thanks for figuring this out, @denphi!! From what I can tell it seems to be working

Thanks, @nantille, for reviewing as well!

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