diff --git a/src/ui/View.js b/src/ui/View.js index ac48a49d..c93f2d1e 100644 --- a/src/ui/View.js +++ b/src/ui/View.js @@ -706,8 +706,7 @@ var View = Base.extend(Callback, /** @lends View# */{ } if (view) { var point = viewToProject(view, event); - if (dragging || new Rectangle(new Point(), - view.getViewSize()).contains(point)) + if (dragging || view.getBounds().contains(point)) tool = handleMouseMove(view, point, event); } }