Delete mouseFree
This commit is contained in:
parent
5ca8b6cff0
commit
ec154ba349
|
@ -316,7 +316,6 @@ define([
|
|||
me.delta = 100/(me.maxValue - me.minValue);
|
||||
me.includeSnap = me.options.includeSnap;
|
||||
me.intervalSnap = me.options.intervalSnap;
|
||||
me.mouseFree = true;
|
||||
me.thumbs = [];
|
||||
if (me.options.el) {
|
||||
me.render();
|
||||
|
@ -378,7 +377,6 @@ define([
|
|||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
resetPageX(e);
|
||||
me.mouseFree = true;
|
||||
|
||||
var index = e.data.index,
|
||||
lastValue = me.thumbs[index].value,
|
||||
|
@ -444,7 +442,7 @@ define([
|
|||
|
||||
var onMouseDown = function (e) {
|
||||
if ( me.disabled ) return;
|
||||
me.mouseFree = false;
|
||||
|
||||
var index = e.data.index,
|
||||
thumb = me.thumbs[index].thumb;
|
||||
|
||||
|
|
|
@ -1201,8 +1201,6 @@ define([
|
|||
},
|
||||
|
||||
btnDirectionRedraw: function(slider, gradientColorsStr) {
|
||||
if(!slider.mouseFree) return;
|
||||
|
||||
this.gradientColorsStr = gradientColorsStr;
|
||||
if (this.mnuDirectionPicker.dataViewItems.length == 1)
|
||||
this.mnuDirectionPicker.dataViewItems[0].$el.children(0).css({'background': 'radial-gradient(' + gradientColorsStr + ')'});
|
||||
|
|
|
@ -532,8 +532,6 @@ define([
|
|||
},
|
||||
|
||||
btnDirectionRedraw: function(slider, gradientColorsStr) {
|
||||
if(!slider.mouseFree) return;
|
||||
|
||||
this.gradientColorsStr = gradientColorsStr;
|
||||
if (this.mnuDirectionPicker.dataViewItems.length == 1)
|
||||
this.mnuDirectionPicker.dataViewItems[0].$el.children(0).css({'background': 'radial-gradient(' + gradientColorsStr + ')'});
|
||||
|
|
|
@ -606,9 +606,6 @@ define([
|
|||
},
|
||||
|
||||
btnDirectionRedraw: function(slider, gradientColorsStr) {
|
||||
if(!slider.mouseFree) return;
|
||||
|
||||
|
||||
this.gradientColorsStr = gradientColorsStr;
|
||||
if (this.mnuDirectionPicker.dataViewItems.length == 1)
|
||||
this.mnuDirectionPicker.dataViewItems[0].$el.children(0).css({'background': 'radial-gradient(' + gradientColorsStr + ')'});
|
||||
|
|
|
@ -1077,7 +1077,6 @@ define([
|
|||
},
|
||||
|
||||
btnDirectionRedraw: function(slider, gradientColorsStr) {
|
||||
if(!slider.mouseFree) return;
|
||||
|
||||
this.gradientColorsStr = gradientColorsStr;
|
||||
if (this.mnuDirectionPicker.dataViewItems.length == 1)
|
||||
|
|
|
@ -1139,8 +1139,6 @@ define([
|
|||
},
|
||||
|
||||
btnDirectionRedraw: function(slider, gradientColorsStr) {
|
||||
if(!slider.mouseFree) return;
|
||||
|
||||
this.gradientColorsStr = gradientColorsStr;
|
||||
if (this.mnuDirectionPicker.dataViewItems.length == 1)
|
||||
this.mnuDirectionPicker.dataViewItems[0].$el.children(0).css({'background': 'radial-gradient(' + gradientColorsStr + ')'});
|
||||
|
|
Loading…
Reference in a new issue