update optionInit

This commit is contained in:
Harvey Zack committed 2023-04-17 22:45:08 +08:00
1 parent 339034d30d
commit 443afeb496
4 files changed
+32 -32

No files matched your search

-8
View File
@@ -135,14 +135,6 @@ export default class Template {
if (isMobile) {
addClass(this.$player, 'art-mobile');
}
if (option.theme) {
option.cssVar['--art-theme'] = option.theme;
}
for (const key in option.cssVar) {
this.$player.style.setProperty(key, option.cssVar[key]);
}
}
mobile() {