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

Documentation Error: Processing instead of p5 #5278

Closed
2 of 17 tasks
dipamsen opened this issue May 31, 2021 · 1 comment · Fixed by #5281
Closed
2 of 17 tasks

Documentation Error: Processing instead of p5 #5278

dipamsen opened this issue May 31, 2021 · 1 comment · Fixed by #5281
Assignees
Labels

Comments

@dipamsen
Copy link

Most appropriate sub-area of p5.js?

  • Accessibility (Web Accessibility)
  • Build tools and processes
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Friendly error system
  • Image
  • IO (Input/Output)
  • Localization
  • Math
  • Unit Testing
  • Typography
  • Utilities
  • WebGL
  • Other: Documentation

Documentation error

p5 mouseButton (https://github.com/processing/p5.js/tree/main/src/events/mouse.js#L351-L359)
Actual:

Processing automatically tracks if the mouse button is pressed and which button is pressed. The value of the system variable mouseButton is either LEFT, RIGHT, or CENTER depending on which button was pressed last. Warning: different browsers may track mouseButton differently.

Expected:

p5 automatically tracks if the mouse button is pressed and which button is pressed. The value of the system variable mouseButton is either LEFT, RIGHT, or CENTER depending on which button was pressed last. Warning: different browsers may track mouseButton differently.

@dipamsen dipamsen added the Bug label May 31, 2021
@SanjaySinghRajpoot
Copy link
Contributor

may I work on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants