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
Color.createColor now populates the color property of the returned object with the results of Phaser.Color.getColor.
Color.createColor now has a `color32` property with the results of `Phaser.Color.getColor32`.
Color.hexToColor has been optimised to inline the regex and has moved the createColor call so it now populates the color object fully, not just setting the r,g,b properties.
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,9 @@ Version 2.1.2 - "Whitebridge" - in development
102
102
* jsdoc fixes (thanks @danxexe#1209)
103
103
* AnimationParser is now using `value` instead of `nodeValue` when parsing atlas XML files, avoiding Chrome deprecation warnings (thanks @valtterip#1189)
104
104
* Color.webToColor restored. Converts a CSS rgba color into a native color value.
105
-
* Color.createColor now populates the color objects `color` and `color32` properties with the results of `Phaser.Color.getColor` and `getColor32` respectively.
105
+
* Color.createColor now populates the `color` property of the returned object with the results of `Phaser.Color.getColor`.
106
+
* Color.createColor now has a `color32` property with the results of `Phaser.Color.getColor32`.
107
+
* Color.hexToColor has been optimised to inline the regex and has moved the createColor call so it now populates the color object fully, not just setting the r,g,b properties.
0 commit comments