[vlc-commits] qml: make controlbarview more hightlighted

Prince Gupta git at videolan.org
Mon Mar 15 10:32:52 UTC 2021


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Thu Feb  4 21:11:25 2021 +0530| [ca670260555e13e2e8cd04ea3c35e933d747357b] | committer: Pierre Lamot

qml: make controlbarview more hightlighted

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

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

 modules/gui/qt/player/qml/Player.qml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/gui/qt/player/qml/Player.qml b/modules/gui/qt/player/qml/Player.qml
index 95ce36d995..8149e0134d 100644
--- a/modules/gui/qt/player/qml/Player.qml
+++ b/modules/gui/qt/player/qml/Player.qml
@@ -411,8 +411,10 @@ Widgets.NavigableFocusScope {
                     id: controlBarBackground
 
                     anchors.fill: parent
-                    color: rootPlayer.colors.playerBg
                     visible: false
+                    color: rootPlayer.colors.isThemeDark
+                           ? Qt.darker(rootPlayer.colors.playerBg, 1.2)
+                           : Qt.lighter(rootPlayer.colors.playerBg, 1.2)
                 }
 
                 GaussianBlur {



More information about the vlc-commits mailing list