mica effect emulation

This commit is contained in:
booploops 2022-03-10 20:16:20 -08:00
parent d1cf11f0b0
commit f1baf887cf
11 changed files with 164 additions and 29 deletions

View file

@ -105,6 +105,9 @@ function fallbackinitMusicKit() {
})
setTimeout(() => {
app.init()
if(app.cfg.visual.window_background_style == "mica") {
app.spawnMica()
}
}, 1000)
}
@ -131,6 +134,9 @@ document.addEventListener('musickitloaded', function () {
function waitForApp() {
if (typeof app.init !== "undefined") {
app.init()
if(app.cfg.visual.window_background_style == "mica") {
app.spawnMica()
}
}
else {
setTimeout(waitForApp, 250);