Skip to content

Commit 9d71220

Browse files
authored
Merge pull request #6401 from meezwhite/fix-typo-6400
docs(typography): fix typos in example for textFont
2 parents 558505e + 3049845 commit 9d71220

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/typography/loading_displaying.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,9 +260,9 @@ p5.prototype.text = function(str, x, y, maxWidth, maxHeight) {
260260
* }
261261
* function setup() {
262262
* background(210);
263-
* fill(0)
264-
.strokeWeight(0)
265-
.textSize(10);
263+
* fill(0);
264+
* strokeWeight(0);
265+
* textSize(10);
266266
* textFont(fontRegular);
267267
* text('Font Style Normal', 10, 30);
268268
* textFont(fontItalic);

0 commit comments

Comments
 (0)