mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-22 10:51:50 +08:00
Merge pull request #121 from xdavidwu/songselect-fix-currentsongcache
SongSelect: compare id before clearing currentSongCache
This commit is contained in:
commit
016bfaf2c1
@ -1089,7 +1089,8 @@ class SongSelect{
|
||||
highlight = 0
|
||||
}
|
||||
|
||||
if(this.currentSongTitle !== currentSong.title){
|
||||
if(this.currentSongId !== currentSong.id || this.currentSongTitle !== currentSong.title){
|
||||
this.currentSongId = currentSong.id
|
||||
this.currentSongTitle = currentSong.title
|
||||
this.currentSongCache.clear()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user