From 25ee1ff88888f3055066dadb11c448f2a4a0dc09 Mon Sep 17 00:00:00 2001 From: William Candillon Date: Mon, 23 May 2022 10:31:52 +0200 Subject: [PATCH] Fix regression with 2d transforms (#502) --- package/src/renderer/processors/math/Matrix3.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/src/renderer/processors/math/Matrix3.ts b/package/src/renderer/processors/math/Matrix3.ts index ad6c99a489..d157f1104e 100644 --- a/package/src/renderer/processors/math/Matrix3.ts +++ b/package/src/renderer/processors/math/Matrix3.ts @@ -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") {