Commit bfdcf95 thyttan
committed
1 parent c9e4a99 commit bfdcf95 Copy full SHA for bfdcf95
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -113,19 +113,19 @@ exports.create = function(cb, conf) {
113
113
o . f . dragSlider = e => {
114
114
"ram" ;
115
115
if ( o . v . ebLast == 0 ) {
116
- exFirst = o . c . horizontal ?e . y :e . x ;
117
- eyFirst = o . c . horizontal ?e . x :e . y ;
116
+ o . v . exFirst = o . c . horizontal ?e . y :e . x ;
117
+ o . v . eyFirst = o . c . horizontal ?e . x :e . y ;
118
118
}
119
119
120
120
// Only react if on allowed area.
121
- if ( o . f . wasOnDragRect ( exFirst , eyFirst ) ) {
121
+ if ( o . f . wasOnDragRect ( o . v . exFirst , o . v . eyFirst ) ) {
122
122
o . v . dragActive = true ;
123
123
if ( ! o . c . propagateDrag ) E . stopEventPropagation && E . stopEventPropagation ( ) ;
124
124
125
125
if ( o . v . timeoutID ) { clearTimeout ( o . v . timeoutID ) ; o . v . timeoutID = undefined ; }
126
126
if ( e . b == 0 && ! o . v . timeoutID && ( o . c . timeout || o . c . timeout === 0 ) ) o . v . timeoutID = setTimeout ( o . f . remove , 1000 * o . c . timeout ) ;
127
127
128
- if ( useMap && o . f . wasOnIndicator ( exFirst ) ) { // If draging starts on the indicator, adjust one-to-one.
128
+ if ( useMap && o . f . wasOnIndicator ( o . v . exFirst ) ) { // If draging starts on the indicator, adjust one-to-one.
129
129
130
130
let input = ! o . c . horizontal ?
131
131
Math . min ( ( Y_MAX - e . y ) - o . c . yStart - 3 * o . c . rounded / 4 , o . c . height ) :
You can’t perform that action at this time.
0 commit comments