This commit is contained in:
Harvey Zack committed 2018-11-05 10:38:22 +08:00
1 parent ea3feb72b7
commit 3919ee2f3d
21 files changed
+252 -289

No files matched your search

+2 -8
View File
@@ -8,14 +8,8 @@ export default class Mask {
}
init() {
const { player, refs, events: { proxy } } = this.art;
append(refs.$mask, icons.playBig);
proxy(refs.$mask, 'click', () => {
player.play();
this.hide();
});
const { option, refs: { $mask } } = this.art;
append($mask, option.play || icons.playBig);
}
show() {