[vlc-commits] [Git][videolan/vlc][master] qml: set correct color when CSD pressed
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Mon Jun 27 08:14:58 UTC 2022
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
bfca7654 by Leon Vitanos at 2022-06-27T08:01:16+00:00
qml: set correct color when CSD pressed
When using the dark theme, pressing the CSD would make the background color darker instead of lighter
- - - - -
1 changed file:
- modules/gui/qt/widgets/qml/CSDWindowButton.qml
Changes:
=====================================
modules/gui/qt/widgets/qml/CSDWindowButton.qml
=====================================
@@ -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
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/bfca7654802a7b4bdc0bba52d2e43be4da1f67f0
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/bfca7654802a7b4bdc0bba52d2e43be4da1f67f0
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list