Skip to content

Commit e757a5e

Browse files
author
Lauren McCarthy
committed
Merge pull request #619 from jshaw/master
fixed typo in createCanvas comments
2 parents 6b1b31f + b885a59 commit e757a5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rendering/rendering.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ define(function(require) {
1313
* Creates a canvas element in the document, and sets the dimensions of it
1414
* in pixels. This method should be called only once at the start of setup.
1515
* Calling createCanvas more than once in a sketch will result in very
16-
* unpredicable behavior. If you want more more than one drawing canvas
16+
* unpredicable behavior. If you want more than one drawing canvas
1717
* you could use createGraphics (hidden by default but it can be shown).<br>
1818
* The system variables width and height are set by the parameters passed
1919
* to this function. If createCanvas() is not used, the window will be
@@ -59,7 +59,7 @@ define(function(require) {
5959
this._defaultGraphics = new p5.Graphics(c, this, true);
6060
this._elements.push(this._defaultGraphics);
6161
}
62-
62+
6363
this._defaultGraphics.resize(w, h);
6464
this._defaultGraphics._applyDefaults();
6565
return this._defaultGraphics;

0 commit comments

Comments
 (0)