This commit is contained in:
Harvey Zack committed 2018-10-17 20:52:13 +08:00
1 parent 5f6febce42
commit b2159e7d4d
9 files changed
+64 -61

No files matched your search

+4 -3
View File
@@ -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();