Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: handle mouse events on left side of canvas when margin present #141

Merged
merged 2 commits into from
Nov 8, 2023

Conversation

ccarmichael-uncharted
Copy link
Collaborator

There was a bug where, when a parent element of the canvas had a left margin, mouse events within the inner left portion of the canvas proportional to that margin would be invalidated. This change fixes that issue

There was a bug where, when a parent element of the canvas had a left margin, mouse events within the inner left portion of the canvas proportional to that margin would be invalidated. This change fixes that issue
Copy link

@nkronenfeld nkronenfeld left a comment

Choose a reason for hiding this comment

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

Good as far as I can tell.

@Nithos Nithos merged commit c53db1d into main Nov 8, 2023
6 checks passed
@Nithos Nithos deleted the fix-mouse-events branch November 8, 2023 20:00
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.

3 participants