mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
Minor code cleaning
This commit is contained in:
parent
e9135589b1
commit
8ce5cc97cc
1 changed files with 1 additions and 1 deletions
|
@ -1270,7 +1270,7 @@ new function() { // Injection scope for event handling on the browser
|
|||
|| hitItem && hitItem !== dragItem
|
||||
&& !hitItem.isDescendant(dragItem)
|
||||
&& emitMouseEvent(hitItem, null, type === 'mousedrag' ?
|
||||
'mousemove' : type, event, point, prevPoint, dragItem)
|
||||
'mousemove' : type, event, point, prevPoint, dragItem)
|
||||
// Lastly handle the mouse events on the view, if we're still here.
|
||||
|| emitMouseEvent(view, dragItem || hitItem || view, type, event,
|
||||
point, prevPoint));
|
||||
|
|
Loading…
Reference in a new issue