fix animations

This commit is contained in:
end-4
2025-04-19 23:57:50 +02:00
parent b879489d43
commit 905d26570f
4 changed files with 22 additions and 8 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ Rectangle {
text: "bolt"
font.pixelSize: Appearance.font.pixelSize.large
color: Appearance.m3colors.m3onSecondaryContainer
visible: opacity !== 0 // Only show when charging
visible: opacity > 0 // Only show when charging
opacity: isCharging ? 1 : 0 // Keep opacity for visibility
Behavior on opacity {