Skip to content

Commit cc1c794

Browse files
committed
Merge pull request phaserjs#1125 from beeglebug/fix/phaserjs#1095-rectangle-contains-rect
swapped argument order of Rectangle.containsRect - fixes phaserjs#1095
2 parents ec62595 + a435191 commit cc1c794

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/geom/Rectangle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ Phaser.Rectangle.prototype = {
206206
*/
207207
containsRect: function (b) {
208208

209-
return Phaser.Rectangle.containsRect(this, b);
209+
return Phaser.Rectangle.containsRect(b, this);
210210

211211
},
212212

0 commit comments

Comments
 (0)