File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments