Permalink
Browse files

Fix drag events for mouse

  • Loading branch information...
1 parent 7c8b53e commit 18e6326bc2bd6a3545280a2f444f4cac839e38d6 @davidaurelio davidaurelio committed Feb 28, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/renderer/svg/svg_event_handlers.js
@@ -205,7 +205,7 @@ define([
var dragEvent = pointerEvent.clone('drag');
dragEvent.diffX = x - this._mouseDragStartX;
dragEvent.diffY = y - this._mouseDragStartY;
- emitMouseEvent(this, dragEvent, targetId);
+ emitMouseEvent(this, dragEvent, dragId);
}
} else if (type === 'pointerup') {
this._mouseDragId = this._mouseDragStartX = this._mouseDragStartY = undefined;

0 comments on commit 18e6326

Please sign in to comment.