Merge pull request #6153 from samme/patch-15

Fix Phaser.Display.RGB#equals()
This commit is contained in:
Richard Davey 2022-06-27 17:33:38 +01:00 committed by GitHub
commit 26cca86eff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,7 +103,7 @@ var RGB = new Class({
{
var rgb = this._rgb;
return (rgb.r === red && rgb.g === green && rgb.b === blue);
return (rgb[0] === red && rgb[1] === green && rgb[2] === blue);
},
/**