[vlc-devel] [PATCH 10/21] qml: add slider y position of player as public property in player

Prince Gupta guptaprince8832 at gmail.com
Fri Oct 23 15:21:04 CEST 2020


---
 modules/gui/qt/player/qml/Player.qml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/gui/qt/player/qml/Player.qml b/modules/gui/qt/player/qml/Player.qml
index 33d50616d4..11b9046697 100644
--- a/modules/gui/qt/player/qml/Player.qml
+++ b/modules/gui/qt/player/qml/Player.qml
@@ -34,6 +34,7 @@ Widgets.NavigableFocusScope {
     property var _menu: undefined
 
     property bool hasEmbededVideo: mainInterface.hasEmbededVideo
+    readonly property int positionSliderY: controlBarView.y + VLCStyle.fontHeight_normal + VLCStyle.margin_xsmall
 
     function dismiss() {
         if (_menu)
-- 
2.25.1



More information about the vlc-devel mailing list