Fix broken #delta property in mouse-events.

This commit is contained in:
Jürg Lehni 2016-01-13 15:43:48 +01:00
parent dbc5bd175a
commit c058e5f664

View file

@ -900,7 +900,7 @@ new function() { // Injection scope for mouse events on the browser
// reuse it if we're bubbling.
if (!mouseEvent) {
mouseEvent = new MouseEvent(
type, event, point, target, mouseDown,
type, event, point, target,
// Calculate delta if prevPoint was passed
prevPoint ? point.subtract(prevPoint) : null);
}