ControlCenter: Fix laggy opening due to spinning disc

This commit is contained in:
ItsLemmy
2025-11-03 08:27:49 -05:00
parent 72c5a9d652
commit f4672df2e0
+1 -10
View File
@@ -62,7 +62,6 @@ NBox {
border.width: 1 border.width: 1
radius: Style.radiusM radius: Style.radiusM
} }
//}
// Background visualizer on top of the artwork // Background visualizer on top of the artwork
Loader { Loader {
@@ -248,7 +247,7 @@ NBox {
duration: index * 600 duration: index * 600
} }
NumberAnimation { NumberAnimation {
from: 0.5 from: 0.6
to: 1.2 to: 1.2
duration: 2000 duration: 2000
easing.type: Easing.OutQuad easing.type: Easing.OutQuad
@@ -263,14 +262,6 @@ NBox {
icon: "disc" icon: "disc"
pointSize: Style.fontSizeXXXL * 3 pointSize: Style.fontSizeXXXL * 3
color: Color.mOnSurfaceVariant color: Color.mOnSurfaceVariant
RotationAnimator on rotation {
from: 0
to: 360
duration: 8000
loops: Animation.Infinite
running: true
}
} }
} }