From 239cfd6735c603678a44142ab26bd4898b82d706 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Thu, 12 Jan 2023 20:26:35 +0100 Subject: [PATCH] Fix weirdly big spinner --- resources/qml/NhekoBusyIndicator.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/qml/NhekoBusyIndicator.qml b/resources/qml/NhekoBusyIndicator.qml index 6f6869f4..0c14646f 100644 --- a/resources/qml/NhekoBusyIndicator.qml +++ b/resources/qml/NhekoBusyIndicator.qml @@ -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