Skip to content
Snippets Groups Projects
Commit bfca7654 authored by Leon Vitanos's avatar Leon Vitanos Committed by Felix Paul Kühne
Browse files

qml: set correct color when CSD pressed

When using the dark theme, pressing the CSD would make the background color darker instead of lighter
parent b7fe7d66
No related branches found
No related tags found
Loading
Pipeline #235545 passed with stage
in 11 minutes and 26 seconds
......@@ -39,7 +39,7 @@ T.TabButton {
height: control.height
width: control.width
color: !control.hovered ? "transparent"
: control.pressed ? (VLCStyle.isThemeDark ? Qt.lighter(control.hoverColor, 1.2)
: control.pressed ? (VLCStyle.colors.isThemeDark ? Qt.lighter(control.hoverColor, 1.2)
: Qt.darker(control.hoverColor, 1.2)
)
: control.hoverColor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment