Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a560c52

Browse files
committedDec 13, 2015
Exposed offset property in event.
1 parent b4e7228 commit a560c52

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/card.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,8 @@ Card = (stack, targetElement) => {
217217
eventEmitter.trigger('dragmove', {
218218
target: targetElement,
219219
throwOutConfidence: config.throwOutConfidence(x, targetElement),
220-
throwDirection: x < 0 ? Card.DIRECTION_LEFT : Card.DIRECTION_RIGHT
220+
throwDirection: x < 0 ? Card.DIRECTION_LEFT : Card.DIRECTION_RIGHT,
221+
offset: x
221222
});
222223
};
223224

0 commit comments

Comments
 (0)
Failed to load comments.