[vlc-commits] [Git][videolan/vlc][master] qml: set artistList background color

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Dec 15 16:20:53 UTC 2022



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
e059f0eb by Fatih Uzunoglu at 2022-12-15T15:58:09+00:00
qml: set artistList background color

- - - - -


1 changed file:

- modules/gui/qt/medialibrary/qml/MusicArtistsAlbums.qml


Changes:

=====================================
modules/gui/qt/medialibrary/qml/MusicArtistsAlbums.qml
=====================================
@@ -97,7 +97,7 @@ FocusScope {
     }
 
     Widgets.AcrylicBackground {
-      /* id: artistListBackground */
+      id: artistListBackground
 
       visible: artistModel.count > 0
       width: artistList.width
@@ -125,6 +125,9 @@ FocusScope {
             visible: artistModel.count > 0
             focus: artistModel.count > 0
 
+            backgroundColor: artistListBackground.usingAcrylic ? "transparent"
+                                                               : artistListBackground.alternativeColor
+
             // To get blur effect while scrolling in mainview
             displayMarginEnd: g_mainDisplay.displayMargin
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e059f0eb4c8e3907bdda9766293a1754dd1bdec4

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e059f0eb4c8e3907bdda9766293a1754dd1bdec4
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