[vlc-devel] [PATCH 22/23] qml: change background color of a playlist item when the item is current item

Fatih Uzunoglu fuzun54 at outlook.com
Thu Jul 2 15:22:07 CEST 2020


---
 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 {
-- 
2.25.1



More information about the vlc-devel mailing list