调整整体样式

This commit is contained in:
Harvey Zack committed 2019-04-30 15:10:30 +08:00
1 parent 487e865017
commit fa585e536a
49 files changed
+984 -322

No files matched your search

+2
View File
@@ -163,12 +163,14 @@ export default class Controls {
show() {
const { $player } = this.art.template;
this.state = true;
$player.classList.add('artplayer-controls-show');
this.art.emit('controls:show');
}
hide() {
const { $player } = this.art.template;
this.state = false;
$player.classList.remove('artplayer-controls-show');
this.art.emit('controls:hide');
}