Skip to content

Commit f2636a1

Browse files
committed
Readme update.
1 parent c2f7520 commit f2636a1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ Version 2.4 - "Katar" - in dev
298298
* Rectangle.bottomLeft has been added (thanks @mattmogford #1788)
299299
* Device.firefoxVersion is a new property that contains the major Firefox version number if running within Firefox, otherwise zero.
300300
* Math.distanceSq will return the euclidean distance squared between the two given set of coordinates (thanks @jeremyosborne #1761 #1770)
301+
* StateManager.onStateChange is a new signal which is dispatched whenever the State changes from one to another. The callback you specify is sent two parameters: the string based key of the new state, and the second parameter is the string based key of the old / previous state.
301302

302303
### Updates
303304

@@ -335,6 +336,7 @@ Version 2.4 - "Katar" - in dev
335336
* Texture.requiresReTint is a new property that controls if a texture requires the display object to be re-tinted having been updated internally. The LoadTexture component now sets this.
336337
* PIXI.Sprite.tintedTexture contains a canvas object that holds the tinted version of the Sprite. This is only populated in Canvas, not in WebGL.
337338
* ScaleManager.scaleSprite will no longer try and scale a display object that doesn't have a scale property.
339+
* The LoadTexture component has a new property `customRender` which is checked for in the Core postUpdate to know when to render custom elements like Videos.
338340

339341
### Bug Fixes
340342

0 commit comments

Comments
 (0)