Skip to content

Commit dad1411

Browse files
authored
Merge pull request #179 from bonev93/develop
revert '* as tweens' import introduced with v6.2 due to vitest tests…
2 parents 211a64a + f3942a6 commit dad1411

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Confetti.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as tweens from 'tween-functions'
1+
import { easeInOutQuad } from 'tween-functions'
22
import ParticleGenerator from './ParticleGenerator'
33
import { IRect } from './Rect'
44

@@ -141,7 +141,7 @@ export const confettiDefaults: Pick<
141141
],
142142
opacity: 1.0,
143143
debug: false,
144-
tweenFunction: tweens.easeInOutQuad,
144+
tweenFunction: easeInOutQuad,
145145
tweenDuration: 5000,
146146
recycle: true,
147147
run: true,

0 commit comments

Comments
 (0)