Skip to content

Commit

Permalink
Fixed loop variable in createFileInput() docs (dom.js)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmcwhae authored Dec 13, 2024
1 parent 69580cf commit 5c0da01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dom/dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -2023,7 +2023,7 @@ p5.prototype.createInput = function (value = '', type = 'text') {
* let y = i * 20;
*
* // Draw the image.
* image(img, 0, y, 100, 100);
* image(images[i], 0, y, 100, 100);
* }
*
* describe('A gray square with a file input beneath it. If the user selects multiple image files to load, they are displayed on the square.');
Expand Down

0 comments on commit 5c0da01

Please sign in to comment.