Skip to content

Commit c1b0604

Browse files
authored
fix delta definition readme (#158)
1 parent ff4043f commit c1b0604

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ All Event Handlers are called with the below event data.
5151
```
5252
{
5353
event, // source event
54-
deltaX, // x offset (current.x - initial.x)
55-
deltaY, // y offset (current.y - initial.y)
54+
deltaX, // x offset (initial.x - current.x)
55+
deltaY, // y offset (initial.y - current.y)
5656
absX, // absolute deltaX
5757
absY, // absolute deltaY
5858
velocity, // √(absX^2 + absY^2) / time

0 commit comments

Comments
 (0)