Skip to content

Commit

Permalink
fixes.js
Browse files Browse the repository at this point in the history
  • Loading branch information
perminder-17 authored Nov 23, 2023
1 parent b1ec441 commit c01235f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/p5.Renderer2D.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Renderer2D extends p5.Renderer {
this.filterGraphicsLayer.height !== this.height
) {
// Resize the graphics layer
this.filterGraphicsLayer.resize(this.width, this.height);
this.filterGraphicsLayer.resizeCanvas(this.width, this.height);
}
if (
this.filterGraphicsLayer.pixelDensity() !== this._pInst.pixelDensity()
Expand Down

0 comments on commit c01235f

Please sign in to comment.