Browse Source

滑块问题

es6
windy 7 years ago
parent
commit
22d88e4d3a
  1. 10
      bi/widget.js
  2. 10
      dist/bundle.js
  3. 10
      dist/widget.js
  4. 2
      src/widget/intervalslider/intervalslider.js
  5. 2
      src/widget/intervalslider/intervalslider.label.js
  6. 2
      src/widget/singleslider/singleslider.js
  7. 2
      src/widget/singleslider/singleslider.label.js
  8. 2
      src/widget/singleslider/singleslider.normal.js

10
bi/widget.js

@ -5800,7 +5800,7 @@ BI.IntervalSlider = BI.inherit(BI.Widget, {
}); });
function optimizeSize(s) { function optimizeSize(s) {
return BI.clamp(s, 0, o.width); return BI.clamp(s, 0, self._getGrayTrackLength());
} }
}, },
@ -6261,7 +6261,7 @@ BI.IntervalSliderLabel = BI.inherit(BI.Widget, {
}); });
function optimizeSize(s) { function optimizeSize(s) {
return BI.clamp(s, 0, o.width); return BI.clamp(s, 0, self._getGrayTrackLength());
} }
}, },
@ -17458,7 +17458,7 @@ BI.SingleSlider = BI.inherit(BI.Widget, {
}); });
function optimizeSize(s) { function optimizeSize(s) {
return BI.clamp(s, 0, o.width); return BI.clamp(s, 0, self._getGrayTrackLength());
} }
}, },
@ -17759,7 +17759,7 @@ BI.SingleSliderLabel = BI.inherit(BI.Widget, {
}); });
function optimizeSize(s) { function optimizeSize(s) {
return BI.clamp(s, 0, o.width); return BI.clamp(s, 0, self._getGrayTrackLength());
} }
}, },
@ -18024,7 +18024,7 @@ BI.SingleSliderNormal = BI.inherit(BI.Widget, {
}); });
function optimizeSize(s) { function optimizeSize(s) {
return BI.clamp(s, 0, o.width); return BI.clamp(s, 0, self._getGrayTrackLength());
} }
}, },

10
dist/bundle.js vendored

@ -80815,7 +80815,7 @@ BI.IntervalSlider = BI.inherit(BI.Widget, {
}); });
function optimizeSize(s) { function optimizeSize(s) {
return BI.clamp(s, 0, o.width); return BI.clamp(s, 0, self._getGrayTrackLength());
} }
}, },
@ -81276,7 +81276,7 @@ BI.IntervalSliderLabel = BI.inherit(BI.Widget, {
}); });
function optimizeSize(s) { function optimizeSize(s) {
return BI.clamp(s, 0, o.width); return BI.clamp(s, 0, self._getGrayTrackLength());
} }
}, },
@ -92473,7 +92473,7 @@ BI.SingleSlider = BI.inherit(BI.Widget, {
}); });
function optimizeSize(s) { function optimizeSize(s) {
return BI.clamp(s, 0, o.width); return BI.clamp(s, 0, self._getGrayTrackLength());
} }
}, },
@ -92774,7 +92774,7 @@ BI.SingleSliderLabel = BI.inherit(BI.Widget, {
}); });
function optimizeSize(s) { function optimizeSize(s) {
return BI.clamp(s, 0, o.width); return BI.clamp(s, 0, self._getGrayTrackLength());
} }
}, },
@ -93039,7 +93039,7 @@ BI.SingleSliderNormal = BI.inherit(BI.Widget, {
}); });
function optimizeSize(s) { function optimizeSize(s) {
return BI.clamp(s, 0, o.width); return BI.clamp(s, 0, self._getGrayTrackLength());
} }
}, },

10
dist/widget.js vendored

@ -5800,7 +5800,7 @@ BI.IntervalSlider = BI.inherit(BI.Widget, {
}); });
function optimizeSize(s) { function optimizeSize(s) {
return BI.clamp(s, 0, o.width); return BI.clamp(s, 0, self._getGrayTrackLength());
} }
}, },
@ -6261,7 +6261,7 @@ BI.IntervalSliderLabel = BI.inherit(BI.Widget, {
}); });
function optimizeSize(s) { function optimizeSize(s) {
return BI.clamp(s, 0, o.width); return BI.clamp(s, 0, self._getGrayTrackLength());
} }
}, },
@ -17458,7 +17458,7 @@ BI.SingleSlider = BI.inherit(BI.Widget, {
}); });
function optimizeSize(s) { function optimizeSize(s) {
return BI.clamp(s, 0, o.width); return BI.clamp(s, 0, self._getGrayTrackLength());
} }
}, },
@ -17759,7 +17759,7 @@ BI.SingleSliderLabel = BI.inherit(BI.Widget, {
}); });
function optimizeSize(s) { function optimizeSize(s) {
return BI.clamp(s, 0, o.width); return BI.clamp(s, 0, self._getGrayTrackLength());
} }
}, },
@ -18024,7 +18024,7 @@ BI.SingleSliderNormal = BI.inherit(BI.Widget, {
}); });
function optimizeSize(s) { function optimizeSize(s) {
return BI.clamp(s, 0, o.width); return BI.clamp(s, 0, self._getGrayTrackLength());
} }
}, },

2
src/widget/intervalslider/intervalslider.js

@ -194,7 +194,7 @@ BI.IntervalSlider = BI.inherit(BI.Widget, {
}); });
function optimizeSize(s) { function optimizeSize(s) {
return BI.clamp(s, 0, o.width); return BI.clamp(s, 0, self._getGrayTrackLength());
} }
}, },

2
src/widget/intervalslider/intervalslider.label.js

@ -157,7 +157,7 @@ BI.IntervalSliderLabel = BI.inherit(BI.Widget, {
}); });
function optimizeSize(s) { function optimizeSize(s) {
return BI.clamp(s, 0, o.width); return BI.clamp(s, 0, self._getGrayTrackLength());
} }
}, },

2
src/widget/singleslider/singleslider.js

@ -188,7 +188,7 @@ BI.SingleSlider = BI.inherit(BI.Widget, {
}); });
function optimizeSize(s) { function optimizeSize(s) {
return BI.clamp(s, 0, o.width); return BI.clamp(s, 0, self._getGrayTrackLength());
} }
}, },

2
src/widget/singleslider/singleslider.label.js

@ -169,7 +169,7 @@ BI.SingleSliderLabel = BI.inherit(BI.Widget, {
}); });
function optimizeSize(s) { function optimizeSize(s) {
return BI.clamp(s, 0, o.width); return BI.clamp(s, 0, self._getGrayTrackLength());
} }
}, },

2
src/widget/singleslider/singleslider.normal.js

@ -134,7 +134,7 @@ BI.SingleSliderNormal = BI.inherit(BI.Widget, {
}); });
function optimizeSize(s) { function optimizeSize(s) {
return BI.clamp(s, 0, o.width); return BI.clamp(s, 0, self._getGrayTrackLength());
} }
}, },

Loading…
Cancel
Save