[vlc-commits] qml: change background color of a playlist item when the item is current item
    Fatih Uzunoglu 
    git at videolan.org
       
    Fri Jul  3 14:59:23 CEST 2020
    
    
  
vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Fri Jun 26 21:26:26 2020 +0300| [d9a40e955ee69e1c12a8236375714f1898e52dbe] | committer: Pierre Lamot
qml: change background color of a playlist item when the item is current item
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d9a40e955ee69e1c12a8236375714f1898e52dbe
---
 modules/gui/qt/playlist/qml/PLItem.qml | 6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/modules/gui/qt/playlist/qml/PLItem.qml b/modules/gui/qt/playlist/qml/PLItem.qml
index e530169a80..bcb46d5419 100644
--- a/modules/gui/qt/playlist/qml/PLItem.qml
+++ b/modules/gui/qt/playlist/qml/PLItem.qml
@@ -104,6 +104,12 @@ Rectangle {
             dragItem.updatePos(pos.x, pos.y)
         }
 
+        Rectangle {
+            color: VLCStyle.colors.bg
+            anchors.fill: parent
+            visible: model.isCurrent && !root.hovered && !model.selected
+        }
+
         RowLayout {
             id: content
             anchors {
    
    
More information about the vlc-commits
mailing list