Skip to content

Commit 3f1cafe

Browse files
committed
Put the famous idnetityMatrix typo back in so it doesn't break Pixi
1 parent 7dd63df commit 3f1cafe

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ Version 1.0.5 (In progress)
4242
* Fixed a horrendously sneaky bug: If a new tween was created in the onComplete callback of a tween about to be deleted, it would get automatically spliced.
4343
* Added a pendingDelete property to Tween to stop tweens that were removed during a callback from causing update errors during the TweenManager loop.
4444
* Added Group.length property.
45+
* Added explicit x/y attributes to Phaser.Text to make it work with the camera system (thanks cocoademon).
4546

4647

4748

src/gameobjects/RenderTexture.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ Phaser.RenderTexture = function (game, key, width, height) {
99
this.width = width || 100;
1010
this.height = height || 100;
1111

12-
this.identityMatrix = PIXI.mat3.create();
12+
// I know this has a typo in it, but it's because the PIXI.RenderTexture does and we need to pair-up with it
13+
// once they update pixi to fix the typo, we'll fix it here too :)
14+
this.indetityMatrix = PIXI.mat3.create();
1315

1416
this.frame = new PIXI.Rectangle(0, 0, this.width, this.height);
1517

0 commit comments

Comments
 (0)