set drag threshold to 0

This commit is contained in:
Casper Lamboo 2018-04-24 16:01:42 +02:00
parent 0a3686d8df
commit fcd6bdbbf8
1 changed files with 3 additions and 0 deletions

View File

@ -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: {