Skip to content

Conversation

@HarshitaKatariya
Copy link

@HarshitaKatariya HarshitaKatariya commented Jan 10, 2025

Resolves #7400

Changes:

  • Fixed the issue with mouseX and mouseY not accounting for CSS borders on the canvas.
  • Added offset correction logic using getBoundingClientRect() in the manual test example: example_3_2.js.

Screenshots of the Change:

N/A


PR Checklist

  • npm run lint passes
  • Inline documentation is included / updated
  • Unit tests are included / updated

@welcome
Copy link

welcome bot commented Jan 10, 2025

🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already. And be sure to add yourself to the list of contributors on the readme page!

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.

Issue with mouseX and mouseY when using a CSS border

1 participant