We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d75325 commit b49edb7Copy full SHA for b49edb7
1 file changed
src/components/Color.js
@@ -38,8 +38,8 @@ Phaser.Component.Color = function (gameObject)
38
// String version of RGBA
39
this._rgba = '';
40
41
- // 32-bit version of RGBA
42
- this._glBg = this.getColor32(0, 0, 0, 0);
+ // 32-bit version of ARGB
+ this._glBg = 0;
43
44
this._hasBackground = false;
45
};
@@ -53,6 +53,7 @@ Phaser.Component.Color.prototype = {
53
if (red === undefined)
54
{
55
56
57
}
58
else
59
@@ -117,7 +118,7 @@ Phaser.Component.Color.prototype = {
117
118
this._glBg = this.getColor32(this._r, this._g, this._b, this._a);
119
120
- // Tint mults
121
+ // Tint mults?
122
123
},
124
0 commit comments