diff --git a/src/core/math/shapes/Rectangle.js b/src/core/math/shapes/Rectangle.js index 3dd1156..128a7b7 100644 --- a/src/core/math/shapes/Rectangle.js +++ b/src/core/math/shapes/Rectangle.js @@ -69,7 +69,7 @@ Rectangle.prototype.copy = function (rectangle) { this.x = rectangle.x; - this.x = rectangle.y; + this.y = rectangle.y; this.width = rectangle.width; this.height = rectangle.height;