mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 08:51:20 -08:00
normal -> normalSize
This commit is contained in:
1 parent
7e4420d841
commit
86980b2a73
4 files changed
+42
-33
No files matched your search
@@ -4,7 +4,7 @@ export default function resizeInit(art, events) {
|
||||
const { option, player } = art;
|
||||
|
||||
const resizeFn = throttle(() => {
|
||||
if (player.normal) {
|
||||
if (player.normalSize) {
|
||||
player.autoSize = option.autoSize;
|
||||
}
|
||||
player.aspectRatioReset = true;
|
||||
|
||||
Reference in new issue
Block a user