diff options
author | Nino van Hooff <ninovanhooff@gmail.com> | 2019-11-07 14:46:45 +0300 |
---|---|---|
committer | Nino van Hooff <ninovanhooff@gmail.com> | 2019-11-07 14:46:45 +0300 |
commit | ba6cf8eae5e4d8cca563b3695828acbbdb3fd107 (patch) | |
tree | 27da5ee44f0920cb43764951a6ab6b71c676543f | |
parent | 96bd641d93290ca38fea33667a4c64f780c52ecb (diff) |
Fix window resize bug in LayerSlider concerning handle position
Upper handle position would not be updated on resize
CURA-6854
-rw-r--r-- | plugins/SimulationView/LayerSlider.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/SimulationView/LayerSlider.qml b/plugins/SimulationView/LayerSlider.qml index 0c62dd01cf..6f608fe474 100644 --- a/plugins/SimulationView/LayerSlider.qml +++ b/plugins/SimulationView/LayerSlider.qml @@ -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 |