[vlc-devel] [PATCH 28/39] qml: fix foreground color of playlist button in top banner

Prince Gupta guptaprince8832 at gmail.com
Thu Jan 7 11:50:24 UTC 2021


---
 modules/gui/qt/maininterface/qml/BannerSources.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt/maininterface/qml/BannerSources.qml b/modules/gui/qt/maininterface/qml/BannerSources.qml
index c5f9c6e5b5..4ee38346f6 100644
--- a/modules/gui/qt/maininterface/qml/BannerSources.qml
+++ b/modules/gui/qt/maininterface/qml/BannerSources.qml
@@ -382,9 +382,9 @@ Widgets.NavigableFocusScope {
                             text: i18n.qtr("Playlist")
                             width: VLCStyle.bannerButton_width
                             height: VLCStyle.bannerButton_height
+                            highlighted: mainInterface.playlistVisible
 
                             onClicked:  mainInterface.playlistVisible = !mainInterface.playlistVisible
-                            color: mainInterface.playlistVisible && !playlist_btn.backgroundVisible ? VLCStyle.colors.accent : VLCStyle.colors.buttonText
                         }
 
                         Widgets.IconToolButton {
-- 
2.25.1



More information about the vlc-devel mailing list