aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols2/fusion/impl/SliderHandle.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/quickcontrols2/fusion/impl/SliderHandle.qml')
-rw-r--r--src/quickcontrols2/fusion/impl/SliderHandle.qml6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/quickcontrols2/fusion/impl/SliderHandle.qml b/src/quickcontrols2/fusion/impl/SliderHandle.qml
index 00a955b9aa..80b0e4db9c 100644
--- a/src/quickcontrols2/fusion/impl/SliderHandle.qml
+++ b/src/quickcontrols2/fusion/impl/SliderHandle.qml
@@ -54,11 +54,13 @@ Rectangle {
gradient: Gradient {
GradientStop {
position: 0
- color: Fusion.gradientStart(Fusion.buttonColor(handle.palette, handle.visualFocus, handle.pressed, handle.hovered))
+ color: Fusion.gradientStart(Fusion.buttonColor(handle.palette, handle.visualFocus,
+ handle.pressed, handle.enabled && handle.hovered))
}
GradientStop {
position: 1
- color: Fusion.gradientStop(Fusion.buttonColor(handle.palette, handle.visualFocus, handle.pressed, handle.hovered))
+ color: Fusion.gradientStop(Fusion.buttonColor(handle.palette, handle.visualFocus,
+ handle.pressed, handle.enabled && handle.hovered))
}
}
rotation: handle.vertical ? -90 : 0