fix song title and progress set to default when paused

This commit is contained in:
raziman 2021-03-10 21:34:38 +08:00
parent 82cf89c0bb
commit 975375329e

View File

@ -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() {