mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
[ts][phaser-v4] Get correct matrix when context is rendering into framebuffer. See #3009.
This commit is contained in:
parent
d06d0c1406
commit
45dbd74fdc
@ -377,7 +377,8 @@ export class SpineGameObject extends DepthMixin(
|
|||||||
const transform = Phaser.GameObjects.GetCalcMatrix(
|
const transform = Phaser.GameObjects.GetCalcMatrix(
|
||||||
src,
|
src,
|
||||||
camera,
|
camera,
|
||||||
parentMatrix
|
parentMatrix,
|
||||||
|
!drawingContext.useCanvas,
|
||||||
).calc;
|
).calc;
|
||||||
const a = transform.a,
|
const a = transform.a,
|
||||||
b = transform.b,
|
b = transform.b,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user