From 88d41ce290906f0c69e6921682f76db5b806fcff Mon Sep 17 00:00:00 2001 From: Brian Emil Hartz Date: Sun, 28 Jul 2019 22:59:28 -0600 Subject: [PATCH] fix delta definition --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9a59b5e1..ee4d25c4 100644 --- a/README.md +++ b/README.md @@ -51,8 +51,8 @@ All Event Handlers are called with the below event data. ``` { event, // source event - deltaX, // x offset (current.x - initial.x) - deltaY, // y offset (current.y - initial.y) + deltaX, // x offset (initial.x - current.x) + deltaY, // y offset (initial.y - current.y) absX, // absolute deltaX absY, // absolute deltaY velocity, // √(absX^2 + absY^2) / time