mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 16:11:20 -08:00
update
This commit is contained in:
1 parent
5f6febce42
commit
b2159e7d4d
9 files changed
+64
-61
No files matched your search
+4
-3
@@ -1,4 +1,5 @@
|
||||
import Icons from './icons';
|
||||
import icons from './icons';
|
||||
import { append } from './utils';
|
||||
|
||||
export default class Mask {
|
||||
constructor(art) {
|
||||
@@ -14,8 +15,8 @@ export default class Mask {
|
||||
events: { proxy }
|
||||
} = this.art;
|
||||
|
||||
Icons.play.style.backgroundColor = option.theme;
|
||||
refs.$mask.appendChild(Icons.play);
|
||||
icons.play.style.backgroundColor = option.theme;
|
||||
append(refs.$mask, icons.play);
|
||||
|
||||
proxy(refs.$mask, 'click', () => {
|
||||
player.play();
|
||||
|
||||
Reference in new issue
Block a user