Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix #30

  • Loading branch information...
commit 5300234375128117ce5b9c93b79ccdc8854dc700 1 parent c7076d0
@padolsey padolsey authored
Showing with 3 additions and 0 deletions.
  1. +1 −0  CHANGELOG
  2. +2 −0  src/renderer/svg/svg_event_handlers.js
View
1  CHANGELOG
@@ -6,6 +6,7 @@ v0.3.4
* Detect UIWebView's mobile safari (`isWebkitPatternBug`).
* Fix #33 where `null` should be passed instead of `undefined`
as second parameter to `parent.insertBefore` (thx @jdalton)
+* Add `diffX` and `diffY` properties to `pointerup` event object.
v0.3.3
-------------------
View
2  src/renderer/svg/svg_event_handlers.js
@@ -170,6 +170,8 @@ define([
case 'touchend':
case 'mouseup':
targetId = data._dragId;
+ event.diffX = clientX - start[0];
+ event.diffY = clientY - start[1];
delete data._currentTouch;
delete data._dragId;
delete data._startEventPos;
Please sign in to comment.
Something went wrong with that request. Please try again.