From 5d150ca73005c2ef9e26a2316e4d6338fdf8aa79 Mon Sep 17 00:00:00 2001
From: joni <johnfshaughnessy@gmail.com>
Date: Wed, 6 Jun 2018 11:53:46 -0700
Subject: [PATCH] Add detail to event

---
 src/behaviours/trackpad-scrolling.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/behaviours/trackpad-scrolling.js b/src/behaviours/trackpad-scrolling.js
index e6fd297e5..da7652bb0 100644
--- a/src/behaviours/trackpad-scrolling.js
+++ b/src/behaviours/trackpad-scrolling.js
@@ -7,7 +7,7 @@ function trackpad_scrolling(el) {
   this.x = 0;
   this.y = 0;
   this.axis = [0, 0];
-  this.emittedEventDetail = { axis: this.axis };
+  this.emittedEventDetail = { detail: { axis: this.axis } };
 
   this.onStart = this.onStart.bind(this);
   this.onMove = this.onMove.bind(this);
-- 
GitLab