修复弹幕隐藏失败的bug

This commit is contained in:
zhw2590582 committed 2020-03-28 19:53:13 +08:00
1 parent 70002b7fb5
commit 850b133af0
6 files changed
+11 -11

No files matched your search

@@ -214,12 +214,12 @@ export default class Danmuku {
}
show() {
this.$danmuku.style = 'block';
this.$danmuku.style.display = 'block';
this.art.emit('artplayerPluginDanmuku:show');
}
hide() {
this.$danmuku.style = 'none';
this.$danmuku.style.display = 'none';
this.art.emit('artplayerPluginDanmuku:hide');
}