[vlc-devel] [PATCH 05/25] qml: make controlbarview more hightlighted

Prince Gupta guptaprince8832 at gmail.com
Thu Mar 11 09:16:13 UTC 2021


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



More information about the vlc-devel mailing list