[vlc-commits] qml: fix foreground color of playlist button in top banner

Prince Gupta git at videolan.org
Thu Jan 14 14:42:31 UTC 2021


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Wed Dec 23 23:47:10 2020 +0530| [43e5f3243fe46b122d466897c605e6dd9030938f] | committer: Pierre Lamot

qml: fix foreground color of playlist button in top banner

Signed-off-by: Pierre Lamot <pierre at videolabs.io>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=43e5f3243fe46b122d466897c605e6dd9030938f
---

 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 66c7de6c26..59283bfcf7 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 {



More information about the vlc-commits mailing list