Fix transparent bar contrast timing

This commit is contained in:
David Heinemeier Hansson
2026-05-27 12:36:45 +02:00
parent 9f81a65732
commit 419cd37e14
6 changed files with 260 additions and 7 deletions
+4 -1
View File
@@ -37,7 +37,10 @@ BarWidget {
color: activePlayer && activePlayer.isPlaying ? root.bar.foreground : Qt.darker(root.bar.foreground, 1.5)
font.family: root.bar.fontFamily
font.pixelSize: Style.font.body
Behavior on color { ColorAnimation { duration: 160 } }
Behavior on color {
enabled: !root.bar || root.bar.foregroundAnimationEnabled
ColorAnimation { duration: 160 }
}
}
Item {