Skip to content

Remove incorrect mouseX/mouseY docs regarding WEBGL mode - #8004

Merged
perminder-17 merged 1 commit into
processing:mainfrom
ericrav:patch-1
Jul 29, 2025
Merged

Remove incorrect mouseX/mouseY docs regarding WEBGL mode#8004
perminder-17 merged 1 commit into
processing:mainfrom
ericrav:patch-1

Conversation

@ericrav

@ericrav ericrav commented Jul 29, 2025

Copy link
Copy Markdown

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

welcome Bot commented Jul 29, 2025

Copy link
Copy Markdown

🎉 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!

@perminder-17 perminder-17 left a comment

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
Collaborator

@all-contributors please add @ericrav for doc

@allcontributors

Copy link
Copy Markdown
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