mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 23:51:20 -08:00
add danmuku resize
This commit is contained in:
1 parent
2b934ab988
commit
a5cda09e3c
4 files changed
+11
-3
No files matched your search
@@ -140,6 +140,10 @@ export default function setting(art, danmuku) {
|
||||
inverseClass(event.target, 'art-current');
|
||||
}
|
||||
});
|
||||
|
||||
art.on('resize', () => {
|
||||
setStyle($emitter, 'display', $controlsCenter.clientWidth < 150 ? 'none' : null);
|
||||
});
|
||||
}
|
||||
|
||||
function addControl() {
|
||||
|
||||
Reference in new issue
Block a user