summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/dashboard/Media.qml8
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/dashboard/Media.qml b/modules/dashboard/Media.qml
index 9c6ef16..5817d3e 100644
--- a/modules/dashboard/Media.qml
+++ b/modules/dashboard/Media.qml
@@ -283,13 +283,19 @@ Item {
implicitWidth: controls.implicitWidth * 1.5
implicitHeight: Appearance.padding.normal * 3
- value: root.playerProgress
onMoved: {
const active = Players.active;
if (active?.canSeek && active?.positionSupported)
active.position = value * active.length;
}
+ Binding {
+ target: slider
+ property: "value"
+ value: root.playerProgress
+ when: !slider.pressed
+ }
+
CustomMouseArea {
anchors.fill: parent
acceptedButtons: Qt.NoButton