Skip to content

Commit

Permalink
deleting outdated comment, it's correct now
Browse files Browse the repository at this point in the history
  • Loading branch information
catdad committed Oct 5, 2023
1 parent 3179403 commit 005de0b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/confetti.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,9 +363,6 @@
var width = fetti.shape.bitmap.width * fetti.scalar;
var height = fetti.shape.bitmap.height * fetti.scalar;

// TODO this doesn't look great
// I think we are not setting the origin correctly
// requires that we apply fetti.shape.matrix
var matrix = new DOMMatrix([
Math.cos(rotation) * scaleX,
Math.sin(rotation) * scaleX,
Expand Down

0 comments on commit 005de0b

Please sign in to comment.