diff --git a/src/pixi/core/Rectangle.js b/src/pixi/core/Rectangle.js index 66fb5d6..5748417 100644 --- a/src/pixi/core/Rectangle.js +++ b/src/pixi/core/Rectangle.js @@ -68,11 +68,11 @@ return false; var x1 = this.x; - if(x > x1 && x < x1 + this.width) + if(x >= x1 && x <= x1 + this.width) { var y1 = this.y; - if(y > y1 && y < y1 + this.height) + if(y >= y1 && y <= y1 + this.height) { return true; }