Skip to content

Commit b691182

Browse files
committed
fix typo
1 parent 1b93190 commit b691182

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/typography/loading_displaying.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,8 @@ p5.prototype.text = function(str, x, y, maxWidth, maxHeight) {
229229
/**
230230
* Sets the current font that will be drawn with the <a href="#/p5/text">text()</a> function.
231231
* If textFont() is called without any argument, it will return the current font if one has
232-
* been loaded already. If not, it will return the name of the default font as a string.
233-
* If textFont() is called with a font to load, it will return the p5 object.
232+
* been set already. If not, it will return the name of the default font as a string.
233+
* If textFont() is called with a font to use, it will return the p5 object.
234234
*
235235
* <b>WEBGL</b>: Only fonts loaded via <a href="#/p5/loadFont">loadFont()</a> are supported.
236236
*

0 commit comments

Comments
 (0)