mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
fix anchors formatting
This commit is contained in:
@@ -114,9 +114,7 @@ Slider {
|
||||
|
||||
Loader {
|
||||
required property real index
|
||||
anchors {
|
||||
verticalCenter: background.verticalCenter
|
||||
}
|
||||
anchors.verticalCenter: background.verticalCenter
|
||||
property real leftMargin: index > 0 ? root.dividerMargins : 0
|
||||
property real rightMargin: index < background.leftWidths.length - 1 ? root.dividerMargins : root.handleMargins
|
||||
x: background.leftValues[index] * root.effectiveDraggingWidth + leftMargin + (index > 0 ? leftPadding : 0)
|
||||
@@ -138,9 +136,7 @@ Slider {
|
||||
|
||||
Loader {
|
||||
required property int index
|
||||
anchors {
|
||||
verticalCenter: background.verticalCenter
|
||||
}
|
||||
anchors.verticalCenter: background.verticalCenter
|
||||
property real leftMargin: index > 0 ? root.dividerMargins : 0
|
||||
property real rightMargin: index < background.leftWidths.length - 1 ? root.dividerMargins : root.handleMargins
|
||||
x: background.leftValues[index] * root.effectiveDraggingWidth + leftMargin + (index > 0 ? leftPadding : 0)
|
||||
|
||||
Reference in New Issue
Block a user