This commit is contained in:
zhw2590582 committed 2022-03-16 23:01:07 +08:00
1 parent c0321f660c
commit 146a8c0256
7 files changed
+19 -9

No files matched your search

+3 -1
View File
@@ -5,6 +5,8 @@ export default class Mask extends Component {
constructor(art) {
super(art);
this.name = 'mask';
append(art.template.$state, art.icons.state);
const { template, icons, events } = art;
append(template.$state, icons.state);
events.proxy(template.$state, 'click', () => art.play());
}
}
+2
View File
@@ -24,6 +24,8 @@
width: 60px;
height: 60px;
opacity: 0.6;
cursor: pointer;
pointer-events: all;
}
}