-
-
Notifications
You must be signed in to change notification settings - Fork 514
Open
Description
Use case:
Show CircleSnail while loading, afterwards exchange with Circle that shows some progress.
When using the same size and thickness properties, they do not align properly (tested on 4.0.0).
It seems the CircleSnail creates a circle that shrinks with increasing thickness:
const radius = size / 2 - thickness; const offset = { top: thickness, left: thickness, };
I'd assume, to fix that we could use thickness * 0.5 in the above calculation.
If this is intended, maybe create another flag that lets us decide on the behavior.
Metadata
Metadata
Assignees
Labels
No labels