mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-11 05:26:15 -08:00
update danmuku
This commit is contained in:
1 parent
46fbccd267
commit
2ac14e96b9
7 files changed
+116
-92
No files matched your search
@@ -22,6 +22,7 @@ export default function autoOrientation(art) {
|
||||
setStyle($player, 'transform-origin', '0 0');
|
||||
setStyle($player, 'transform', `rotate(90deg) translate(0, -${viewWidth}px)`);
|
||||
addClass($player, 'art-auto-orientation');
|
||||
art.emit('resize');
|
||||
}, constructor.MOBILE_AUTO_ORIENTATION_TIME);
|
||||
}
|
||||
} else {
|
||||
@@ -34,6 +35,7 @@ export default function autoOrientation(art) {
|
||||
art.aspectRatioReset = true;
|
||||
art.autoSize = option.autoSize;
|
||||
art.notice.show = '';
|
||||
art.emit('resize');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user