Changed look of song loading, fix custom game assets and song skins, fix auth error
- Change the way a selected song appears while it is loading the metadata - Fix custom taikowebskin - Fix importing custom game assets (local only) - Get the oauth token again on auth error
This commit is contained in:
@@ -108,7 +108,9 @@ class LoadSong{
|
||||
return this.scaleImg(img, filename, prefix, force)
|
||||
}), songObj.custom ? filename + ".png" : skinBase + filename + ".png")
|
||||
if(songObj.custom){
|
||||
img.src = URL.createObjectURL(song.songSkin[filename + ".png"])
|
||||
this.addPromise(song.songSkin[filename + ".png"].blob().then(blob => {
|
||||
img.src = URL.createObjectURL(blob)
|
||||
}))
|
||||
}else{
|
||||
img.src = skinBase + filename + ".png"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user