sliders: always update percent value when dragging between boundaries

This commit is contained in:
bordun 2020-04-17 11:39:10 +02:00
parent fd407132a8
commit 0e78625ae9

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()