mirror of
https://github.com/issadarkthing/gomu.git
synced 2025-04-26 13:49:21 +08:00
Minor fix: don't show lyric and progress when paused
This commit is contained in:
parent
d237de2a2a
commit
0d531a2827
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user