mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-04 03:45:58 -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) {
|
if (view) {
|
||||||
var point = viewToProject(view, event);
|
var point = viewToProject(view, event);
|
||||||
if (dragging || new Rectangle(new Point(),
|
if (dragging || view.getBounds().contains(point))
|
||||||
view.getViewSize()).contains(point))
|
|
||||||
tool = handleMouseMove(view, point, event);
|
tool = handleMouseMove(view, point, event);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue