Minor fix: don't show lyric and progress when paused

This commit is contained in:
tramhao 2021-03-08 00:29:51 +08:00
parent d237de2a2a
commit 0d531a2827

View File

@ -66,6 +66,10 @@ func (p *PlayingBar) run() error {
break
}
if gomu.player.IsPaused() {
continue
}
p.progress = int(gomu.player.GetPosition().Seconds())
start, err := time.ParseDuration(strconv.Itoa(p.progress) + "s")