Skip to content

Commit 2ff0e17

Browse files
committed
fix(QML): make fader react to any drag
1 parent abdbc25 commit 2ff0e17

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

res/qml/Mixxx/Controls/Slider.qml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ Item {
149149
acceptedButtons: Qt.LeftButton
150150
enabled: root.enabled
151151
target: null
152+
dragThreshold: 0
152153

153154
onActiveChanged: {
154155
if (active) {
@@ -171,9 +172,7 @@ Item {
171172
root.applyInteractiveValue(value + (diff / length) * (root.to - root.from), false);
172173
}
173174
}
174-
Binding {
175-
property: "value"
176-
target: root
175+
Binding on value {
177176
value: dragHandler.value
178177
when: dragHandler.active && root.live
179178
}

0 commit comments

Comments
 (0)