-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
cursor() - the image not displayed as the cursor #6804
Comments
Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, please make sure to fill out the inputs in the issue forms. Thank you! |
Hi @shawnwz, to help us better understand this, could you provide a p5.js web editor link that includes a code snippet illustrating the issue? Thanks! |
Hi @Qianqianye this is the code snippet illustrating the issue. p5.js web editor |
Hey @davepagurek Can I work on this? |
Thanks @haroon10725, I'll assign it to you! |
Fixes issue processing#6804
Most appropriate sub-area of p5.js?
p5.js version
1.9.0
Web browser and version
Google Chrome 121.0.6167.139
Operating system
Mac
Steps to reproduce this
reference to https://p5js.org/reference/#/p5/cursor
If the path to an image is passed, as in cursor('assets/target.png'), then the image will be used as the cursor
acctually the image is not used as the cursor
I tested
cursor(CROSS) is working
cursor('https://avatars0.githubusercontent.com/u/1617169?s=16') is working
BUT cursor("assets/erasers/64-eraser.png") is NOT working
The text was updated successfully, but these errors were encountered: