Commit 016bfaf2 authored by Bui's avatar Bui Committed by GitHub

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

SongSelect: compare id before clearing currentSongCache
parents e089e862 65f8e901
...@@ -1089,7 +1089,8 @@ class SongSelect{ ...@@ -1089,7 +1089,8 @@ class SongSelect{
highlight = 0 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.currentSongTitle = currentSong.title
this.currentSongCache.clear() this.currentSongCache.clear()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment