Skip to content

Conversation

vinono
Copy link

@vinono vinono commented Oct 12, 2025

  • Add _updateMouseCoordsFromWindowPosition() method to recalculate coordinates
  • Add resize event listener to trigger updates automatically
  • Add unit tests and manual test example
  • Fixes mouseX/mouseY freezing when DevTools/fullscreen/resize happens
  • Maintains backward compatibility and minimal performance impact

Resolves #[Add issue number here]

Changes:

Screenshots of the change:

PR Checklist

- Add _updateMouseCoordsFromWindowPosition() method to recalculate coordinates
- Add resize event listener to trigger updates automatically
- Add unit tests and manual test example
- Fixes mouseX/mouseY freezing when DevTools/fullscreen/resize happens
- Maintains backward compatibility and minimal performance impact
Copy link

welcome bot commented Oct 12, 2025

🎉 Thanks for opening this pull request! For guidance on contributing, check out our contributor guidelines and other resources for contributors!
🤔 Please ensure that your PR links to an issue, which has been approved for work by a maintainer; otherwise, there might already be someone working on it, or still ongoing discussion about implementation. You are welcome to join the discussion in an Issue if you're not sure!
🌸 Once your PR is merged, be sure to add yourself to the list of contributors on the readme page !

Thank You!

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