mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 22:08:59 +08:00
Fix alignment of inactiveMarker
CURA-6598
This commit is contained in:
parent
11c23b4fe9
commit
abc6e5950b
@ -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…
x
Reference in New Issue
Block a user