From fcd6bdbbf853a1bfbd163dcd32aa618cd9ecd18f Mon Sep 17 00:00:00 2001 From: Casper Lamboo Date: Tue, 24 Apr 2018 16:01:42 +0200 Subject: [PATCH] set drag threshold to 0 --- src/components/App.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/App.js b/src/components/App.js index 3dca6e2..121617b 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -17,6 +17,9 @@ import keycode from 'keycode'; import bowser from 'bowser'; import * as d2Tools from '../constants/d2Tools.js'; import { isLoaded, load } from '../utils/loaded.js'; +import { setConfig } from 'touch-events'; + +setConfig({ DRAG_THRESHOLD: 0 }); const styles = { container: {