[vlc-commits] qml: make the seekbar background semi-transparent

Pierre Lamot git at videolan.org
Thu Aug 29 10:44:51 CEST 2019


vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Thu Aug  1 16:50:17 2019 +0200| [9c7347b13548bac2782eb58371e1c705cc1b136e] | committer: Jean-Baptiste Kempf

qml: make the seekbar background semi-transparent

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

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

diff --git a/modules/gui/qt/qml/player/SliderBar.qml b/modules/gui/qt/qml/player/SliderBar.qml
index f9372479ff..73e2e0980e 100644
--- a/modules/gui/qt/qml/player/SliderBar.qml
+++ b/modules/gui/qt/qml/player/SliderBar.qml
@@ -98,7 +98,8 @@ Slider {
         width: control.availableWidth
         implicitHeight: control.implicitHeight
         height: implicitHeight
-        color: "transparent"
+        color:  VLCStyle.colors.setColorAlpha( VLCStyle.colors.playerFg, 0.7 )
+        radius: implicitHeight
 
         MouseArea {
             id: sliderRectMouseArea



More information about the vlc-commits mailing list