mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-03-13 16:33:28 -04:00
Fix a comment.
This commit is contained in:
parent
1b484a2f7b
commit
427cc21b3a
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ var CanvasView = View.extend(/** @lends CanvasView# */{
|
|||
var hit = view._project.hitTest(point, hitOptions),
|
||||
item = hit && hit.item;
|
||||
if (item) {
|
||||
// If this is a mousemove event and we change the over item,
|
||||
// If this is a mousemove event and we change the overItem,
|
||||
// reset lastPoint to point so delta is (0, 0)
|
||||
if (type == 'mousemove' && item != overItem)
|
||||
lastPoint = point;
|
||||
|
|
Loading…
Reference in a new issue