Permalink
Browse files

Fix assignment to wrong property

  • Loading branch information...
1 parent 36ad504 commit ad9b8dbcf174381ac0eb4cab60b4982eeb22d85d @davidaurelio davidaurelio committed Mar 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/renderer/svg/svg_event_handlers.js
@@ -208,7 +208,7 @@ define([
this._mouseDragStartY = y;
} else if (type === 'pointermove') {
pointerEvent.deltaX = x - this._mouseMoveLastX;
- pointerEvent.deltaX = y - this._mouseMoveLastY;
+ pointerEvent.deltaY = y - this._mouseMoveLastY;
var dragId = this._mouseDragId;
if (dragId === +dragId) { // emit drag events if the mouse is down.
var dragEvent = pointerEvent.clone('drag');

0 comments on commit ad9b8db

Please sign in to comment.