优化退出状态

This commit is contained in:
Harvey committed 2020-05-15 18:56:58 +08:00
1 parent 129af7b42d
commit 72937ab1ed
4 files changed
+5 -1

No files matched your search

+2
View File
@@ -1829,6 +1829,7 @@
screenfull.exit().then(function () {
removeClass($player, 'art-fullscreen');
player.aspectRatioReset = true;
player.autoSize = art.option.autoSize;
art.emit('fullscreenChange', false);
});
}
@@ -1857,6 +1858,7 @@
} else {
removeClass($player, 'art-fullscreen-web');
player.aspectRatioReset = true;
player.autoSize = art.option.autoSize;
art.emit('fullscreenWebChange', false);
}
}