Releases: catdad/canvas-confetti
Releases Β· catdad/canvas-confetti
1.3.3
1.3.2
1.3.1
1.3.0
1.2.1
This release only includes fixes to some typos. Nothing to see here.
1.2.0
- Added an option to allow
canvas-confetti
to handle browsers that prefer reduced motion, so that your users that struggle with visual motion don't have to see the confetti on the page without you having to specifically handle it. Just providedisableForReducedMotion
and confetti will automatically be turned off for users that have enabled this option in their operating system or browser. See #114 for more information.
1.1.3
- Fixed an issue with using this library along with restrictive Content Security Policy, or when a web worker cannot be started for any other reason. If the library determines it should use a web worker but fails to start one, it will gracefully fall back to rendering in the main thread -- see #112
1.1.2
- Fixed an issue that caused an error to be thrown when initializing the confetti control multiple times on the same canvas when using
useWorker: true
. This is still not a good idea, but at least it won't throw now and will still show confetti. Note: this does not mean firing confetti more than once on the same canvas. You should still do that, because more confetti is always more fun π -- see #106 - Fixed an issue when using Safari's "ImageBitmap and OffscreenCanvas" experiment. This is disabled by default, but when enabled in the Develop menu, it causes issues when using confetti. Safari's implementation is incomplete, so now confetti will do validation for each feature of OffscreenCanvas it needs to use -- see #109