Update simulation slider handle position after width change

CURA-6874
This commit is contained in:
Nino van Hooff 2019-10-28 09:59:30 +01:00
parent 9430d05cac
commit d59a343b3f

View file

@ -56,6 +56,11 @@ Item
return Math.min(Math.max(value, sliderRoot.minimumValue), sliderRoot.maximumValue)
}
onWidthChanged : {
// After a width change, the pixel-position of the handle is out of sync with the property value
setHandleValue(handleValue)
}
// slider track
Rectangle
{