vlc | branch: master | Fatih Uzunoglu <[email protected]> | Mon Jul 27 17:50:49 2020 +0300| [91c2ca5625b09f00f2e30061b00667ee79f786e9] | committer: Pierre Lamot
qml: bind sliderbar tooltip location Signed-off-by: Pierre Lamot <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=91c2ca5625b09f00f2e30061b00667ee79f786e9 --- modules/gui/qt/player/qml/SliderBar.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/gui/qt/player/qml/SliderBar.qml b/modules/gui/qt/player/qml/SliderBar.qml index d4e5d11b0b..a00a767b11 100644 --- a/modules/gui/qt/player/qml/SliderBar.qml +++ b/modules/gui/qt/player/qml/SliderBar.qml @@ -41,7 +41,7 @@ Slider { Item { id: timeTooltip - property real location: 0 + property real location: sliderRectMouseArea.mouseX property real position: location/control.width y: VLCStyle.dp(-35) @@ -120,7 +120,6 @@ Slider { control.value = event.x / control.width player.position = control.value } - timeTooltip.location = event.x } onEntered: { if(player.hasChapters) _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
