Skip to content

Commit 45dbd74

Browse files
committed
[ts][phaser-v4] Get correct matrix when context is rendering into framebuffer. See #3009.
1 parent d06d0c1 commit 45dbd74

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spine-ts/spine-phaser-v4/src/SpineGameObject.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,8 @@ export class SpineGameObject extends DepthMixin(
377377
const transform = Phaser.GameObjects.GetCalcMatrix(
378378
src,
379379
camera,
380-
parentMatrix
380+
parentMatrix,
381+
!drawingContext.useCanvas,
381382
).calc;
382383
const a = transform.a,
383384
b = transform.b,

0 commit comments

Comments
 (0)