Fix weirdly big spinner

This commit is contained in:
Nicolas Werner 2023-01-12 20:26:35 +01:00
parent 9b8eb0a412
commit 239cfd6735
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
1 changed files with 2 additions and 2 deletions

View File

@ -40,12 +40,12 @@ BusyIndicator {
Rectangle {
implicitWidth: radius * 2
implicitHeight: radius * 2
radius: item.height / 6
radius: item.height / 8
color: Nheko.colors.text
opacity: (index + 2) / (repeater.count + 2)
transform: [
Translate {
y: -Math.min(item.width, item.height) * 0.5 + item.height / 6
y: item.height / 2
},
Rotation {
angle: index / repeater.count * 360