mirror of
https://github.com/issadarkthing/gomu.git
synced 2025-04-28 13:48:53 +08:00
Fix a bug p.subtitle is not closed during initialization. This is lead to a small bug: when a song has subtitle, and 2nd song doesn't have, 3rd song will show the subtitle of 1st song.
This commit is contained in:
parent
a24d334638
commit
d8694d5bdc
@ -161,6 +161,7 @@ func (p *PlayingBar) newProgress(currentSong *AudioFile, full int) {
|
||||
p.setSongTitle(currentSong.name)
|
||||
p.hasTag = false
|
||||
p.subtitles = nil
|
||||
p.subtitle = nil
|
||||
p.tag = nil
|
||||
|
||||
var tag *id3v2.Tag
|
||||
|
Loading…
x
Reference in New Issue
Block a user