压缩字符

This commit is contained in:
Harvey committed 2019-11-28 10:56:53 +08:00
1 parent 7ff61b4660
commit 0cf455ced3
27 files changed
+171 -239

No files matched your search

+4 -4
View File
@@ -19,13 +19,13 @@ export default function resizeInit(art, events) {
playerWidth = player.width;
playerHeight = player.height;
if (option.autoSize) {
if (!art.player.fullscreen && !art.player.fullscreenWeb && !art.player.pip) {
art.player.autoSize = true;
if (!player.fullscreen && !player.fullscreenWeb && !player.pip) {
player.autoSize = true;
} else {
art.player.autoSize = false;
player.autoSize = false;
}
}
art.player.aspectRatioReset = true;
player.aspectRatioReset = true;
art.emit('resize', {
width: player.width,
height: player.height,