Fix weirdly big spinner
This commit is contained in:
parent
9b8eb0a412
commit
239cfd6735
@ -40,12 +40,12 @@ BusyIndicator {
|
|||||||
Rectangle {
|
Rectangle {
|
||||||
implicitWidth: radius * 2
|
implicitWidth: radius * 2
|
||||||
implicitHeight: radius * 2
|
implicitHeight: radius * 2
|
||||||
radius: item.height / 6
|
radius: item.height / 8
|
||||||
color: Nheko.colors.text
|
color: Nheko.colors.text
|
||||||
opacity: (index + 2) / (repeater.count + 2)
|
opacity: (index + 2) / (repeater.count + 2)
|
||||||
transform: [
|
transform: [
|
||||||
Translate {
|
Translate {
|
||||||
y: -Math.min(item.width, item.height) * 0.5 + item.height / 6
|
y: item.height / 2
|
||||||
},
|
},
|
||||||
Rotation {
|
Rotation {
|
||||||
angle: index / repeater.count * 360
|
angle: index / repeater.count * 360
|
||||||
|
Loading…
Reference in New Issue
Block a user