diff --git a/dashboard-ui/bower_components/paper-slider/paper-slider.html b/dashboard-ui/bower_components/paper-slider/paper-slider.html index ab5c742de..b3279f858 100644 --- a/dashboard-ui/bower_components/paper-slider/paper-slider.html +++ b/dashboard-ui/bower_components/paper-slider/paper-slider.html @@ -343,7 +343,7 @@ Custom property | Description | Default on-up="_resetKnob" on-track="_onTrack" on-transitionend="_knobTransitionEnd"> -
+ @@ -542,6 +542,7 @@ Custom property | Description | Default _positionKnob: function(ratio) { this._setImmediateValue(this._calcStep(this._calcKnobPosition(ratio))); + this._setPinValue(this.immediateValue); this._setRatio(this._calcRatio(this.immediateValue)); this.$.sliderKnob.style.left = (this.ratio * 100) + '%'; @@ -590,6 +591,10 @@ Custom property | Description | Default // update knob's position var translateX = ((this._calcRatio(immediateValue) * this._w) - this._startx); this.translate3d(translateX + 'px', 0, 0, this.$.sliderKnob); + this._setPinValue(immediateValue); + }, + _setPinValue: function (value) { + this.pinValue = value; }, _trackEnd: function() {