remove autoHeight option

This commit is contained in:
Harvey committed 2021-12-31 17:56:43 +08:00
1 parent a74c6194be
commit 8404a8c5cd
19 files changed
+61 -78

No files matched your search

@@ -11,14 +11,12 @@ export default function fullscreenWebMix(art, player) {
if (value) {
addClass($player, 'art-fullscreen-web');
player.aspectRatioReset = true;
player.autoHeight = false;
player.autoSize = false;
art.emit('resize');
art.emit('fullscreenWeb', true);
} else {
removeClass($player, 'art-fullscreen-web');
player.aspectRatioReset = true;
player.autoHeight = art.option.autoHeight;
player.autoSize = art.option.autoSize;
art.emit('resize');
art.emit('fullscreenWeb');