Skip to content

Commit 337e8a6

Browse files
Merge pull request #5648 from smilee/main
Fix typo on 'updatePixels()' page
2 parents fe5385c + 0d96a90 commit 337e8a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/image/p5.Image.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ p5.Image.prototype.loadPixels = function() {
305305
* underlying canvas
306306
* @param {Integer} y y-offset of the target update area for the
307307
* underlying canvas
308-
* @param {Integer} w height of the target update area for the
308+
* @param {Integer} w width of the target update area for the
309309
* underlying canvas
310310
* @param {Integer} h height of the target update area for the
311311
* underlying canvas

0 commit comments

Comments
 (0)