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
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to