Fix window resize bug in LayerSlider concerning handle position

Upper handle position would not be updated on resize

CURA-6854
This commit is contained in:
Nino van Hooff 2019-11-07 12:46:45 +01:00
parent 96bd641d93
commit ba6cf8eae5

View file

@ -165,8 +165,9 @@ Item
}
onHeightChanged : {
// After a height change, the pixel-position of the lower handle is out of sync with the property value
// After a height change, the pixel-position of the handles is out of sync with the property value
setLowerValue(lowerValue)
setUpperValue(upperValue)
}
// Upper handle