mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
parent
e22fa3a664
commit
bd4f48ca1a
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue