[vlc-commits] qml: update bottom background of player

Prince Gupta git at videolan.org
Mon Feb 8 09:59:52 UTC 2021


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Mon Jan  4 22:34:49 2021 +0530| [c8bb709d08d6236ad0211cee376693bb8e90d59d] | committer: Pierre Lamot

qml: update bottom background of player

Signed-off-by: Pierre Lamot <pierre at videolabs.io>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c8bb709d08d6236ad0211cee376693bb8e90d59d
---

 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" }
             }
         }
     }



More information about the vlc-commits mailing list