Skip to content

Commit

Permalink
Fix regression with 2d transforms (#502)
Browse files Browse the repository at this point in the history
  • Loading branch information
wcandillon authored May 23, 2022
1 parent 45147ea commit 25ee1ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/src/renderer/processors/math/Matrix3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ export const processTransform2d = (transforms: Transforms2d) => {
continue;
}
if (key === "scaleX") {
m.preScale(value, 0);
m.preScale(value, 1);
continue;
}
if (key === "scaleY") {
m.preScale(0, value);
m.preScale(1, value);
continue;
}
if (key === "skewX") {
Expand Down

0 comments on commit 25ee1ff

Please sign in to comment.