Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix drag events for mouse

  • Loading branch information...
commit 18e6326bc2bd6a3545280a2f444f4cac839e38d6 1 parent 7c8b53e
David Aurelio davidaurelio authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/renderer/svg/svg_event_handlers.js
2  src/renderer/svg/svg_event_handlers.js
View
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.