From 975375329ef29d23eb8b114c3de777dfad5c504b Mon Sep 17 00:00:00 2001 From: raziman Date: Wed, 10 Mar 2021 21:34:38 +0800 Subject: [PATCH] fix song title and progress set to default when paused --- command.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/command.go b/command.go index 65a01af..fae9be6 100644 --- a/command.go +++ b/command.go @@ -253,11 +253,6 @@ func (c Command) defineCommands() { c.define("toggle_pause", func() { gomu.player.TogglePause() - if gomu.player.IsRunning() { - gomu.playingBar.setSongTitle(gomu.player.GetCurrentSong().Name()) - } else { - gomu.playingBar.setDefault() - } }) c.define("volume_up", func() {