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
It looks like the only other time we set windowWidth/windowHeight is on a resize, so if the resize happens between instances existing, maybe it just keeps using the default old values?
If that's the case, it seems like we need to update those values here before calling preload or setup:
Most appropriate sub-area of p5.js?
p5.js version
1.9.4
Web browser and version
126.0.6478.127
Operating system
Windows
Steps to reproduce this
https://editor.p5js.org/bensgilbert/sketches/MTYSOOCSv
Run the sketch
Resize the preview window (it's easier to see if you increase it's size)
Check the console output
This bug has been confirmed on MS Edge (Chromium) and Firefox leading me to believe it's a cross browser problem with p5
Discord chain: https://discordapp.com/channels/836700474425475088/1007853564363817060/1263206263395848282
The text was updated successfully, but these errors were encountered: