some minor changes for the music media player

This commit is contained in:
delli 2025-12-08 22:59:36 +01:00
commit 72ca21a4f0
3 changed files with 7 additions and 9 deletions

View file

@ -259,7 +259,7 @@ struct MusicControlsView: View {
backwardConfig.action()
}
HoverButton(icon: musicManager.isPlaying ? "pause.fill" : "play.fill", scale: .large) {
HoverButton(icon: musicManager.isPlaying ? (musicManager.isLiveStream ? "stop.fill" : "pause.fill") : "play.fill", scale: .large) {
MusicManager.shared.togglePlay()
}
@ -329,7 +329,7 @@ struct MusicControlsView: View {
case .lyrics:
HoverButton(
icon: enableLyrics ? "quote.bubble.fill" : "quote.bubble",
iconColor: enableLyrics ? .accentColor : .white,
iconColor: enableLyrics ? Color(nsColor: MusicManager.shared.avgColor) : .white,
scale: .medium
) {
enableLyrics.toggle()