From 153b8dc6bb96fdba8340a523c8828a72a832fcdf Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Tue, 19 Feb 2019 00:19:25 +1100 Subject: Added RangeTouch, updated Shr lib in demo --- src/js/controls.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/js/controls.js b/src/js/controls.js index 953ca293..c09a28c5 100644 --- a/src/js/controls.js +++ b/src/js/controls.js @@ -3,6 +3,7 @@ // TODO: This needs to be split into smaller files and cleaned up // ========================================================================== +import RangeTouch from 'rangetouch'; import captions from './captions'; import html5 from './html5'; import support from './support'; @@ -334,6 +335,9 @@ const controls = { // Set the fill for webkit now controls.updateRangeFill.call(this, input); + // Improve support on touch devices + RangeTouch.setup(input); + return input; }, -- cgit v1.2.3