Skip to content

Commit

Permalink
fix: pixelRatio not being passed to VFXPlayer (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
fand authored Aug 26, 2024
1 parent 2b299a4 commit 5735882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vfx-js/src/vfx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class VFX {
document.body.appendChild(canvas);
this.#canvas = canvas;

this.#player = new VFXPlayer(canvas);
this.#player = new VFXPlayer(canvas, opts.pixelRatio);
this.#player.play();
}

Expand Down

0 comments on commit 5735882

Please sign in to comment.