Added RangeTouch, updated Shr lib in demo
This commit is contained in:
4
src/js/controls.js
vendored
4
src/js/controls.js
vendored
@ -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;
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user