minor formatting fix

This commit is contained in:
end-4
2026-03-24 17:17:01 +01:00
parent 72b8b7aecb
commit 8f66afe109
@@ -176,9 +176,7 @@ Slider {
Rectangle {
required property int index
anchors {
verticalCenter: background.verticalCenter
}
anchors.verticalCenter: background.verticalCenter
property real leftMargin: index > 0 ? root.dividerMargins : root.handleMargins
property real rightMargin: index < background.rightWidths.length - 1 ? root.dividerMargins : 0
x: background.rightValues[index] * root.effectiveDraggingWidth + leftMargin + (index === 0 ? handleWidth / 2 : 0) + leftPadding
@@ -208,7 +206,7 @@ Slider {
implicitWidth: root.handleWidth
implicitHeight: root.handleHeight
x: leftPadding + (root.visualPosition * root.effectiveDraggingWidth) - (root.handleWidth / 2)
x: root.leftPadding + (root.visualPosition * root.effectiveDraggingWidth) - (root.handleWidth / 2)
anchors.verticalCenter: parent.verticalCenter
radius: Appearance.rounding.full
color: root.handleColor