[vlc-devel] [PATCH 01/33] qml: update bottom background of player
    Prince Gupta 
    guptaprince8832 at gmail.com
       
    Wed Feb  3 10:56:17 UTC 2021
    
    
  
---
 modules/gui/qt/player/qml/Player.qml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt/player/qml/Player.qml b/modules/gui/qt/player/qml/Player.qml
index 03f2d0a607..c1fffe3e46 100644
--- a/modules/gui/qt/player/qml/Player.qml
+++ b/modules/gui/qt/player/qml/Player.qml
@@ -215,7 +215,7 @@ Widgets.NavigableFocusScope {
             width: rootPlayer.width
             height: VLCStyle.dp(206, VLCStyle.scale)
             gradient: Gradient {
-                GradientStop { position: 0; color: VLCStyle.colors.setColorAlpha(VLCStyle.colors.playerBg, .8) }
+                GradientStop { position: 0; color: Qt.rgba(0, 0, 0, .8) }
                 GradientStop { position: 1; color: "transparent" }
             }
         }
@@ -234,7 +234,8 @@ Widgets.NavigableFocusScope {
             height: VLCStyle.dp(206, VLCStyle.scale)
             gradient: Gradient {
                 GradientStop { position: 0; color: "transparent" }
-                GradientStop { position: 1; color: VLCStyle.colors.setColorAlpha(VLCStyle.colors.playerBg, .8) }
+                GradientStop { position: .64; color: Qt.rgba(0, 0, 0, .8) }
+                GradientStop { position: 1; color: "black" }
             }
         }
     }
-- 
2.25.1
    
    
More information about the vlc-devel
mailing list