update stateMix

This commit is contained in:
Harvey Zack committed 2023-04-20 11:49:43 +08:00
1 parent 6743144f44
commit 609ccb4c46
11 files changed
+71 -70

No files matched your search

+1 -1
View File
@@ -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();