You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -298,6 +298,7 @@ Version 2.4 - "Katar" - in dev
298
298
* Rectangle.bottomLeft has been added (thanks @mattmogford#1788)
299
299
* Device.firefoxVersion is a new property that contains the major Firefox version number if running within Firefox, otherwise zero.
300
300
* 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.
301
302
302
303
### Updates
303
304
@@ -335,6 +336,7 @@ Version 2.4 - "Katar" - in dev
335
336
* 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.
336
337
* PIXI.Sprite.tintedTexture contains a canvas object that holds the tinted version of the Sprite. This is only populated in Canvas, not in WebGL.
337
338
* 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.
0 commit comments