Skip to content

Conversation

@ericrav
Copy link
Contributor

@ericrav ericrav commented Jul 29, 2025

resolves #8002

Changes:

The docs for mouseX, mouseY, pmouseX, pmouseY incorrectly state that in WEBGL mode the number is relative to the center of the screen. In fact, is relative to the top-left corner. Removes the distinction between 2d and webgl.

PR Checklist

@welcome
Copy link

welcome bot commented Jul 29, 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!

Copy link
Collaborator

@perminder-17 perminder-17 left a comment

Choose a reason for hiding this comment

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

Looks great to me! Thanks for your work.

@perminder-17 perminder-17 merged commit f8519b1 into processing:main Jul 29, 2025
2 checks passed
@perminder-17
Copy link
Collaborator

@all-contributors please add @ericrav for doc

@allcontributors
Copy link
Contributor

@perminder-17

I've put up a pull request to add @ericrav! 🎉

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.

Incorrect docs about mouse position in WEBGL mode

2 participants