From 5e726cc47db30f93c7d3c2359a20b18936beb2bc Mon Sep 17 00:00:00 2001 From: Amante' Woodley Date: Fri, 1 Aug 2025 15:01:17 -0400 Subject: [PATCH] Merge branch 'loopOptimization' of https://github.com/awood0727/p5.js-AWtest into loopOptimization Signed-off-by: Amante' Woodley Co-authored-by: Nia Perez Co-authored-by: Kayla Bobo Co-authored-by: Silas Morgan --- src/accessibility/outputs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/accessibility/outputs.js b/src/accessibility/outputs.js index 6fa60e6243..b9abddb8a6 100644 --- a/src/accessibility/outputs.js +++ b/src/accessibility/outputs.js @@ -513,7 +513,7 @@ function outputs(p5, fn){ if (!this.ingredients.shapes[f]) { this.ingredients.shapes[f] = [include]; //if other shapes of this type have been created - } else if (this.ingredients.shapes[f] !== [include]) { + } else{ //for every shape of this type for (let y in this.ingredients.shapes[f]) { //compare it with current shape and if it already exists make add false