mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-15 03:04:31 +10:00
minor formatting fix
This commit is contained in:
@@ -176,9 +176,7 @@ Slider {
|
|||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
required property int index
|
required property int index
|
||||||
anchors {
|
anchors.verticalCenter: background.verticalCenter
|
||||||
verticalCenter: background.verticalCenter
|
|
||||||
}
|
|
||||||
property real leftMargin: index > 0 ? root.dividerMargins : root.handleMargins
|
property real leftMargin: index > 0 ? root.dividerMargins : root.handleMargins
|
||||||
property real rightMargin: index < background.rightWidths.length - 1 ? root.dividerMargins : 0
|
property real rightMargin: index < background.rightWidths.length - 1 ? root.dividerMargins : 0
|
||||||
x: background.rightValues[index] * root.effectiveDraggingWidth + leftMargin + (index === 0 ? handleWidth / 2 : 0) + leftPadding
|
x: background.rightValues[index] * root.effectiveDraggingWidth + leftMargin + (index === 0 ? handleWidth / 2 : 0) + leftPadding
|
||||||
@@ -208,7 +206,7 @@ Slider {
|
|||||||
|
|
||||||
implicitWidth: root.handleWidth
|
implicitWidth: root.handleWidth
|
||||||
implicitHeight: root.handleHeight
|
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
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
radius: Appearance.rounding.full
|
radius: Appearance.rounding.full
|
||||||
color: root.handleColor
|
color: root.handleColor
|
||||||
|
|||||||
Reference in New Issue
Block a user