summaryrefslogtreecommitdiffstats
path: root/res/qml/Slider.qml
diff options
context:
space:
mode:
Diffstat (limited to 'res/qml/Slider.qml')
-rw-r--r--res/qml/Slider.qml2
1 files changed, 0 insertions, 2 deletions
diff --git a/res/qml/Slider.qml b/res/qml/Slider.qml
index fa518cddde..bcae15fdde 100644
--- a/res/qml/Slider.qml
+++ b/res/qml/Slider.qml
@@ -27,8 +27,6 @@ MixxxControls.Slider {
width: handleImage.paintedWidth
height: handleImage.paintedHeight
- anchors.horizontalCenter: root.vertical ? parent.horizontalCenter : undefined
- anchors.verticalCenter: root.horizontal ? parent.verticalCenter : undefined
x: root.horizontal ? (root.visualPosition * (root.width - width)) : ((root.width - width) / 2)
y: root.vertical ? (root.visualPosition * (root.height - height)) : ((root.height - height) / 2)