mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 17:51:20 -08:00
update stateMix
This commit is contained in:
1 parent
6743144f44
commit
609ccb4c46
11 files changed
+71
-70
No files matched your search
@@ -4,7 +4,7 @@ export default function resizeInit(art, events) {
|
||||
const { option } = art;
|
||||
|
||||
const resizeFn = throttle(() => {
|
||||
if (art.normalSize) {
|
||||
if (!art.state) {
|
||||
art.autoSize = option.autoSize;
|
||||
}
|
||||
art.aspectRatioReset();
|
||||
|
||||
Reference in new issue
Block a user