mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 09:41:20 -08:00
artplayer-plugin-danmuku@4.4.11
This commit is contained in:
1 parent
e0351a7b93
commit
1d5197ab07
8 files changed
+19
-12
No files matched your search
@@ -169,7 +169,11 @@ export default function setting(art, danmuku) {
|
||||
});
|
||||
|
||||
onResize();
|
||||
art.on('resize', onResize);
|
||||
art.on('resize', () => {
|
||||
if (!art.isInput) {
|
||||
onResize();
|
||||
}
|
||||
});
|
||||
|
||||
art.on('destroy', () => {
|
||||
if (option.mount && $emitter.parentElement === option.mount) {
|
||||
|
||||
Reference in new issue
Block a user