mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 17:01:20 -08:00
4.3.3
This commit is contained in:
1 parent
c0321f660c
commit
146a8c0256
7 files changed
+19
-9
No files matched your search
@@ -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());
|
||||
}
|
||||
}
|
||||
@@ -24,6 +24,8 @@
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
opacity: 0.6;
|
||||
cursor: pointer;
|
||||
pointer-events: all;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user