Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNino van Hooff <ninovanhooff@gmail.com>2019-11-07 14:46:45 +0300
committerNino van Hooff <ninovanhooff@gmail.com>2019-11-07 14:46:45 +0300
commitba6cf8eae5e4d8cca563b3695828acbbdb3fd107 (patch)
tree27da5ee44f0920cb43764951a6ab6b71c676543f /plugins/SimulationView
parent96bd641d93290ca38fea33667a4c64f780c52ecb (diff)
Fix window resize bug in LayerSlider concerning handle position
Upper handle position would not be updated on resize CURA-6854
Diffstat (limited to 'plugins/SimulationView')
-rw-r--r--plugins/SimulationView/LayerSlider.qml3
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