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

@@ -44,11 +44,9 @@ export default function aspectRatioMix(art) {
});
def(art, 'aspectRatioReset', {
set(value) {
if (value) {
const { aspectRatio } = art;
art.aspectRatio = aspectRatio;
}
value() {
const { aspectRatio } = art;
art.aspectRatio = aspectRatio;
},
});
}