Closed davepagurek closed 5 months ago
Resolves #6782
target.width
target.height
target !== this
Before:
https://editor.p5js.org/davepagurek/sketches/gRuscBCcH
After:
npm run lint
@perminder-17 does this seem ok to you?
Resolves #6782
Changes:
target.width
andtarget.height
more consistently to handle cases wheretarget !== this
Screenshots of the change:
Before:
https://editor.p5js.org/davepagurek/sketches/gRuscBCcH
After:
https://editor.p5js.org/davepagurek/sketches/gRuscBCcH
PR Checklist
npm run lint
passes