From 91a00d55e530f9dc918d56f952e936c4a6577e79 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 1 Sep 2025 20:55:48 +1000 Subject: dashboard/media: slightly improve media seeking Still kinda buggy, but not as bad --- modules/dashboard/Media.qml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'modules') 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 -- cgit v1.2.3-freya