update setting

This commit is contained in:
Harvey committed 2022-02-11 17:33:35 +08:00
1 parent 0616d944c5
commit 12047d90ef
8 files changed
+31 -25

No files matched your search

@@ -27,10 +27,10 @@ export default function aspectRatio(art) {
$desc.innerText = getI18n(art.aspectRatio);
art.on('aspectRatio', (value) => {
$desc.innerText = getI18n(art.aspectRatio);
const $current = queryAll('.art-setting-item', $panel).find((item) => item.dataset.value === value);
if ($current) {
inverseClass($current, 'art-current');
$desc.innerText = getI18n(art.aspectRatio);
}
});
},