Skip to content

Commit

Permalink
fix(add web worker): add web worker
Browse files Browse the repository at this point in the history
  • Loading branch information
karamalie committed Nov 24, 2021
1 parent 8a19443 commit a7f9491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lottie-player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ export class LottiePlayer extends LitElement {
}

if(this.webworkers){
lottie.useWebWorker();
lottie.useWebWorker(true);
}

// Initialize lottie player and load animation
Expand Down

0 comments on commit a7f9491

Please sign in to comment.