[vlc-commits] [Git][videolan/vlc][master] qml: add acrylic for pinned video control's top

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Apr 28 11:04:10 UTC 2022



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
72f71e7f by Prince Gupta at 2022-04-28T10:52:18+00:00
qml: add acrylic for pinned video control's top

- - - - -


1 changed file:

- modules/gui/qt/player/qml/Player.qml


Changes:

=====================================
modules/gui/qt/player/qml/Player.qml
=====================================
@@ -205,6 +205,15 @@ FocusScope {
         }
     }
 
+    Component {
+        id: acrylicBackground
+
+        Widgets.AcrylicBackground {
+            width: rootPlayer.width
+            alternativeColor: rootPlayer.colors.playerBg
+        }
+    }
+
     /* top control bar background */
     Widgets.DrawerExt {
         edge: Widgets.DrawerExt.Edges.Top
@@ -215,7 +224,7 @@ FocusScope {
 
         component: {
             if (rootPlayer.pinVideoControls)
-                return backgroundForPinnedControls
+                return acrylicBackground
             else if (topcontrolView.contentItem.isResumeDialogVisible)
                 return topcontrolViewResumeBg
             else



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/72f71e7fd5b1d8ee2250997b3191bed14c5b089c

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/72f71e7fd5b1d8ee2250997b3191bed14c5b089c
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list