mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-23 13:51:20 -08:00
bugfix
This commit is contained in:
1 parent
ec97a5912e
commit
8a3f59bc01
3 files changed
+4
-4
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { errorHandle, query, addClass, setStyle } from './utils';
|
||||
import { errorHandle, query, addClass } from './utils';
|
||||
|
||||
export default class Template {
|
||||
constructor(art) {
|
||||
@@ -130,7 +130,7 @@ export default class Template {
|
||||
this.$miniClose = this.query('.art-mini-close');
|
||||
this.$contextmenu = this.query('.art-contextmenus');
|
||||
|
||||
setStyle(this.$player, '--theme', theme);
|
||||
this.$player.style.setProperty('--theme', theme);
|
||||
|
||||
if (backdrop) {
|
||||
addClass(this.$settingInner, 'art-backdrop-filter');
|
||||
|
||||
Reference in new issue
Block a user