sliders: always update percent value when dragging between boundaries
This commit is contained in:
parent
5aaca31e69
commit
6490807e90
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue