mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 14:25:57 +08:00
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:
parent
96bd641d93
commit
ba6cf8eae5
@ -165,8 +165,9 @@ Item
|
|||||||
}
|
}
|
||||||
|
|
||||||
onHeightChanged : {
|
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)
|
setLowerValue(lowerValue)
|
||||||
|
setUpperValue(upperValue)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Upper handle
|
// Upper handle
|
||||||
|
Loading…
x
Reference in New Issue
Block a user