processing / p5.js

p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. http://twitter.com/p5xjs —
http://p5js.org/
GNU Lesser General Public License v2.1
21.2k stars 3.23k forks source link

Resolves#6660 #6780

Closed YashGupta2111 closed 5 months ago

YashGupta2111 commented 6 months ago

change this.ingredients.shapes[f] !== [include] to this.ingredients.shapes[f].length !== include.length || !this.ingredients.shapes[f].every((val, index) => val === include[index])

Resolves #6660

Changes:

change this.ingredients.shapes[f] !== [include] to this.ingredients.shapes[f].length !== include.length || !this.ingredients.shapes[f].every((val, index) => val === include[index])

Screenshots of the change:

Screenshot (36)

PR Checklist