UIStroke doesn't properly resize

Certain sizes aren’t properly rendered. These 3 squares have a UIStroke with 2.1, 2.2 and 2.3 thickness, yet all overlap.

1 Like

thickness is pixel-based afaik, so decimals won’t really show except for maybe when the stroke is rotated and being anti-aliased?

I don’t think that’s true. This is it at 2.4 thickness, clearly resizing at 2.4 but not at 2.3, 2.2 or 2.1
image

The size of the component also doesn’t affect this

well regardless, the difference between 2 and 2.4 is one pixel, so its no surprise that 2.1-2.3 aren’t visible.