We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15d1510 commit f59801dCopy full SHA for f59801d
src/webgl/p5.RendererGL.js
@@ -930,7 +930,7 @@ class RendererGL extends Renderer {
930
const w = this.width;
931
const h = this.height;
932
const defaultId = this.canvas.id;
933
- const isPGraphics = this._pInst instanceof p5.Graphics;
+ const isPGraphics = this._pInst instanceof Graphics;
934
935
// Preserve existing position and styles before recreation
936
const prevStyle = {
0 commit comments