mirror of
https://github.com/photonstorm/phaser
synced 2024-12-24 20:13:35 +00:00
Merge pull request #6153 from samme/patch-15
Fix Phaser.Display.RGB#equals()
This commit is contained in:
commit
26cca86eff
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue