sliders: always update percent value when dragging between boundaries

This commit is contained in:
bordun 2020-04-17 11:39:10 +02:00
parent 5aaca31e69
commit 6490807e90

View file

@ -202,7 +202,7 @@ class Slider extends Canvas {
}
if (!options.dragged) this.percent = this.valueToPercent(this.value)
if (!options.dragged || (this.percent <= 100 && this.percent > 0)) this.percent = this.valueToPercent(this.value)
this.batchDraw()