[vlc-devel] [RFC 7/8] qt: playlist: use distinct colors for states [DO NOT MERGE]
    Romain Vimont 
    rom1v at videolabs.io
       
    Tue Jul  9 18:30:31 CEST 2019
    
    
  
We need different colors for:
 - none
 - selected
 - hovered
 - selected+hovered
This is a hacky commit to distinguish states. We need better colors from
designers :)
---
 modules/gui/qt/qml/style/VLCColors.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt/qml/style/VLCColors.qml b/modules/gui/qt/qml/style/VLCColors.qml
index fb01867cdb..619bace761 100644
--- a/modules/gui/qt/qml/style/VLCColors.qml
+++ b/modules/gui/qt/qml/style/VLCColors.qml
@@ -41,7 +41,7 @@ Item {
         if (focus)
             return accent
         if ( selected )
-            return bgHoverInactive
+            return hovered ? "#808080" : "#bdbebf"
         else if (hovered)
             return bgHoverInactive
         else
-- 
2.20.1
    
    
More information about the vlc-devel
mailing list