Skip to content

Commit 73b1336

Browse files
changed point to 1 pixel respecting strokeWeight
1 parent 032c042 commit 73b1336

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/webgl/p5.RendererGL.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -634,8 +634,7 @@ p5.RendererGL = class RendererGL extends p5.Renderer {
634634
}
635635
};
636636

637-
this.pointSize = 5.0; //default point size
638-
this.curStrokeWeight = 1;
637+
this.pointSize = this.curStrokeWeight;
639638
this.curStrokeCap = constants.ROUND;
640639
this.curStrokeJoin = constants.ROUND;
641640

0 commit comments

Comments
 (0)