From 5c0da0127ad0f57705099595dc2fa5a121ff1b8e Mon Sep 17 00:00:00 2001 From: Andrew McWhae Date: Fri, 13 Dec 2024 00:03:10 -0700 Subject: [PATCH] Fixed loop variable in createFileInput() docs (dom.js) --- src/dom/dom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dom/dom.js b/src/dom/dom.js index 2f04be1ef2..d35fbc4ea3 100644 --- a/src/dom/dom.js +++ b/src/dom/dom.js @@ -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.');