diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-07-16 12:41:18 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-07-16 12:41:18 +0800 |
| commit | ad03313876e8af4ad3df868ace0af9faec841e41 (patch) | |
| tree | 182a4864fe936f47c2969e6f4a3137b269cef86a /bar | |
| parent | 3b22c27a87f87c2965af683a0d55f48480fab02d (diff) | |
mpris: more LOD in pause changes
Diffstat (limited to 'bar')
| -rw-r--r-- | bar/Mpris.qml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/bar/Mpris.qml b/bar/Mpris.qml index a2895aa..f09076d 100644 --- a/bar/Mpris.qml +++ b/bar/Mpris.qml @@ -97,7 +97,7 @@ Item { width: Bar.appIconSize height: Bar.appIconSize - opacity: activePlayer.playbackState === MprisPlaybackState.Playing ? 1 : Bar.mediaPausedOpacity * 1.1 + opacity: activePlayer.playbackState === MprisPlaybackState.Playing ? 1 : Bar.mediaPausedOpacity // put shadow Image { @@ -133,6 +133,7 @@ Item { IText { animate: true opacity: activePlayer.playbackState === MprisPlaybackState.Playing ? 1 : Bar.mediaPausedOpacity + color: activePlayer.playbackState === MprisPlaybackState.Playing ? WallustColors.foreground : WallustColors.color15 text: root.cleanedTitle Behavior on opacity { @@ -141,6 +142,13 @@ Item { easing.type: Easing.InOutQuad } } + + Behavior on color { + ColorAnimation { + duration: General.animateDuration / 4 + easing.type: Easing.InOutQuad + } + } } } } |
