You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: cells[ingredients[x][y].loc.locY] is undefined
at undefined:53353:93
🌸 p5.js says:
[p5.js, line 53353] Cannot read property of undefined. Check the line number in error and make sure the variable which is being operated is not undefined.
More info: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Cant_access_property#what_went_wrong
┌[https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.11.1/p5.js:53353:93]
Error at line 53353 in _gridMap()
└[https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.11.1/p5.js:53318:34]
Called from line 53318 in [286]</_main.default.prototype._updateGridOutput()
└[https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.11.1/p5.js:53870:20]
Called from line 53870 in [287]</_main.default.prototype._updateAccsOutput()
└[https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.11.1/p5.js:79142:22]
Called from line 79142 in [318]</_main.default.prototype.redraw()
└[https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.11.1/p5.js:66335:23]
Called from line 66335 in [306]</p5/this._draw()
Expected Behavior
No error, even with the table-text option enabled
Steps to reproduce
Steps:
Open a new sketch on editor.p5js.org
Pate the code below
Enable the table-text option in Accessibility preferences
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!
Thanks @prossel! I'm marking this issue as a duplicate as we also have discussion about the same issue in #7259. Feel free to let us know in that issue if you're interested in helping fix it!
Most appropriate sub-area of p5.js?
p5.js version
1.11.1
Web browser and version
Firefox 135.0.1
Operating system
macOS, Windows, whatever
Steps to reproduce this
Actual Behavior
This simple sketch in editor.p5js.org is breaking if the table-text option in enabled in accessibility configuration.
Here is the error message:
TypeError: cells[ingredients[x][y].loc.locY] is undefined
at undefined:53353:93
🌸 p5.js says:
[p5.js, line 53353] Cannot read property of undefined. Check the line number in error and make sure the variable which is being operated is not undefined.
┌[https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.11.1/p5.js:53353:93]
Error at line 53353 in _gridMap()
└[https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.11.1/p5.js:53318:34]
Called from line 53318 in [286]</_main.default.prototype._updateGridOutput()
└[https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.11.1/p5.js:53870:20]
Called from line 53870 in [287]</_main.default.prototype._updateAccsOutput()
└[https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.11.1/p5.js:79142:22]
Called from line 79142 in [318]</_main.default.prototype.redraw()
└[https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.11.1/p5.js:66335:23]
Called from line 66335 in [306]</p5/this._draw()
Expected Behavior
No error, even with the table-text option enabled
Steps to reproduce
Steps:
Snippet:
Note
This issue was first reported in the editor repository
processing/p5.js-web-editor#3373
but it appears it should rather belong here.
The text was updated successfully, but these errors were encountered: