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 b5901a6 commit ef57497Copy full SHA for ef57497
src/core/p5.Renderer2D.js
@@ -855,7 +855,6 @@ class Renderer2D extends p5.Renderer {
855
this.drawingContext.lineTo(vertices[i + 1][0], vertices[i + 1][1]);
856
}
857
this._doFillStrokeClose(closeShape);
858
- this.drawingContext.closePath();
859
860
} else if (
861
isBezier &&
@@ -1053,6 +1052,7 @@ class Renderer2D extends p5.Renderer {
1053
1052
1054
1055
+ this.drawingContext.closePath();
1056
1057
1058
isCurve = false;
0 commit comments