From 80f8c987541dba6a4386d3e16bdf6163fb7be895 Mon Sep 17 00:00:00 2001 From: zfedoran Date: Tue, 19 Dec 2023 05:41:23 -0500 Subject: [PATCH] [bug] Fix for issue #2329 (#2330) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR fixes the issue outlined in issue #2329 ### Change Type - [x] `patch` — Bug fix [^1]: publishes a `patch` release, for devDependencies use `internal` [^2]: will not publish a new version ### Release Notes - Fix for `Matrix2d.Scale` function --- packages/editor/src/lib/primitives/Matrix2d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor/src/lib/primitives/Matrix2d.ts b/packages/editor/src/lib/primitives/Matrix2d.ts index c87c34dfc..136a4862b 100644 --- a/packages/editor/src/lib/primitives/Matrix2d.ts +++ b/packages/editor/src/lib/primitives/Matrix2d.ts @@ -173,7 +173,7 @@ export class Matrix2d { (x: number, y: number): Matrix2dModel (x: number, y: number, cx: number, cy: number): Matrix2dModel } = (x: number, y: number, cx?: number, cy?: number) => { - const scaleMatrix2d = new Matrix2d(x, 0, 0, 0, y, 0) + const scaleMatrix2d = new Matrix2d(x, 0, 0, y, 0, 0) if (cx === undefined) return scaleMatrix2d