mirror of
https://github.com/issadarkthing/gomu.git
synced 2025-04-26 13:49:21 +08:00
fix song title and progress set to default when paused
This commit is contained in:
parent
82cf89c0bb
commit
975375329e
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user