Merge pull request #121 from xdavidwu/songselect-fix-currentsongcache

SongSelect: compare id before clearing currentSongCache
This commit is contained in:
Bui 2019-01-21 14:07:56 +00:00 committed by GitHub
commit 016bfaf2c1

View File

@ -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()
}