Minor code cleaning

This commit is contained in:
sasensi 2018-10-18 11:18:02 +02:00 committed by Jürg Lehni
parent e9135589b1
commit 8ce5cc97cc

View file

@ -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));