update aspectRatioReset

This commit is contained in:
Harvey Zack committed 2023-04-20 00:23:01 +08:00
1 parent 61cf68f0bc
commit ad8c50ddd7
9 files changed
+91 -93

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ export default function resizeInit(art, events) {
if (art.normalSize) {
art.autoSize = option.autoSize;
}
art.aspectRatioReset = true;
art.aspectRatioReset();
art.notice.show = '';
art.emit('resize');
}, art.constructor.RESIZE_TIME);