Skip to content

Creategraphics bug #1833

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

Closed
aferriss opened this issue Apr 2, 2021 · 2 comments · Fixed by #1855
Closed

Creategraphics bug #1833

aferriss opened this issue Apr 2, 2021 · 2 comments · Fixed by #1855

Comments

@aferriss
Copy link

aferriss commented Apr 2, 2021

Nature of issue?

  • Found a bug

Details about the bug:

Hi there! I'm getting this error when trying to call any function on a graphics object.

Uncaught TypeError: Cannot read property 'grid' of undefined

I think this is related to processing/p5.js#5000

Here's an example sketch showing the issue.

https://editor.p5js.org/aferriss/sketches/63Hly1qCD

I'm wondering if we can update the editor to use a newer p5 release where this issue has been resolved. I believe it was fixed here processing/p5.js#5003

  • Web browser and version: Chrome
  • Operating System: Mac OSX
  • Steps to reproduce this bug: Create a graphics object with createGraphics and call any of it's member functions.
@catarak
Copy link
Member

catarak commented May 7, 2021

Thanks for reporting! Sorry for the delay in getting back to you—I'll update the default to v1.3.1 and do a web editor release.

@aferriss
Copy link
Author

aferriss commented May 7, 2021

Thanks @catarak !

catarak added a commit that referenced this issue May 7, 2021
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 a pull request may close this issue.

2 participants