[bug] Fix for issue #2329 (#2330)

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
This commit is contained in:
zfedoran 2023-12-19 05:41:23 -05:00 committed by GitHub
parent 3cf4dae34d
commit 80f8c98754
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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