Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lmccart committed Mar 10, 2021
1 parent 1b93190 commit b691182
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/typography/loading_displaying.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ p5.prototype.text = function(str, x, y, maxWidth, maxHeight) {
/**
* Sets the current font that will be drawn with the <a href="#/p5/text">text()</a> function.
* If textFont() is called without any argument, it will return the current font if one has
* been loaded already. If not, it will return the name of the default font as a string.
* If textFont() is called with a font to load, it will return the p5 object.
* been set already. If not, it will return the name of the default font as a string.
* If textFont() is called with a font to use, it will return the p5 object.
*
* <b>WEBGL</b>: Only fonts loaded via <a href="#/p5/loadFont">loadFont()</a> are supported.
*
Expand Down

0 comments on commit b691182

Please sign in to comment.