diff --git a/src/viewport.js b/src/viewport.js index 5c6a95c2..563a015e 100644 --- a/src/viewport.js +++ b/src/viewport.js @@ -713,8 +713,8 @@ $.Viewport.prototype = { return new $.Rect( coordA.x, coordA.y, - coordA.x + coordB.x, - coordA.y + coordB.y + coordB.x, + coordB.y ); } };