Skip to content

Commit 79066df

Browse files
committed
MonitorSlider: Improve background colors
1 parent aafefb3 commit 79066df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/internal/MonitorSlider.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ Slider {
1313
QtObject {
1414
id: priv
1515
readonly property color bgColor: Qt.rgba(0.94, 0.94, 0.94, 1)
16-
readonly property color currentBgColor: control.pressed ? Qt.rgba(0.96, 0.96, 0.96, 1) : (hoverHandler.hovered ? Qt.darker(bgColor, 1.28) : bgColor)
16+
readonly property color currentBgColor: control.pressed ? Qt.rgba(0.96, 0.96, 0.96, 1) : (hoverHandler.hovered ? Qt.darker(bgColor, 1.05) : bgColor)
1717

1818
readonly property color bgBorderColor: Qt.rgba(0.7, 0.7, 0.7, 1)
19-
readonly property color currentBgBorderColor: control.pressed ? Qt.rgba(0.77, 0.77, 0.77, 1) : (hoverHandler.hovered ? Qt.darker(bgBorderColor, 1.28) : bgBorderColor)
19+
readonly property color currentBgBorderColor: control.pressed ? Qt.rgba(0.77, 0.77, 0.77, 1) : (hoverHandler.hovered ? Qt.darker(bgBorderColor, 1.1) : bgBorderColor)
2020

2121
readonly property color sliderColor: Qt.rgba(0, 0.46, 1, 1)
2222
readonly property color currentSliderColor: control.pressed ? Qt.rgba(0.22, 0.58, 1, 1) : (hoverHandler.hovered ? Qt.darker(sliderColor, 1.28) : sliderColor)

0 commit comments

Comments
 (0)