mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-11 16:00:47 -07:00
Fix alignment of inactiveMarker
CURA-6598
This commit is contained in:
parent
11c23b4fe9
commit
abc6e5950b
1 changed files with 2 additions and 0 deletions
|
|
@ -69,6 +69,8 @@ Item
|
||||||
{
|
{
|
||||||
id: activeComponent
|
id: activeComponent
|
||||||
sourceComponent: isEnabled? checkboxComponent : disabledComponent
|
sourceComponent: isEnabled? checkboxComponent : disabledComponent
|
||||||
|
// Ensure the inactive markers that are not the first / last one align with the center of the checkboxes
|
||||||
|
x: isEnabled && index !== 0 && index + 1 !== repeater.count ? -(checkboxSize - inactiveMarkerSize) / 2: 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue