[vlc-commits] qml: make playlist button color change according to playlist visibility

Fatih Uzunoglu git at videolan.org
Mon Aug 10 12:10:02 CEST 2020


vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Thu Jul 30 00:04:29 2020 +0300| [5117aa1e0c465e873cf5b258b9dc56320796de7a] | committer: Pierre Lamot

qml: make playlist button color change according to playlist visibility

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

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

diff --git a/modules/gui/qt/maininterface/qml/BannerSources.qml b/modules/gui/qt/maininterface/qml/BannerSources.qml
index a6ebc3a0bf..b4605746a2 100644
--- a/modules/gui/qt/maininterface/qml/BannerSources.qml
+++ b/modules/gui/qt/maininterface/qml/BannerSources.qml
@@ -304,6 +304,7 @@ Widgets.NavigableFocusScope {
                             text: i18n.qtr("Playlist")
 
                             onClicked:  mainInterface.playlistVisible = !mainInterface.playlistVisible
+                            color: mainInterface.playlistVisible && !playlist_btn.backgroundVisible ? VLCStyle.colors.accent : VLCStyle.colors.buttonText
                         }
                     }
 



More information about the vlc-commits mailing list