update demo

This commit is contained in:
Harvey committed 2022-02-11 18:03:48 +08:00
1 parent fd836ec10f
commit 5bd2de4179
8 files changed
+14 -14

No files matched your search

+2 -2
View File
@@ -10,7 +10,7 @@ export default function flip(art) {
};
return {
width: 150,
width: 200,
html: i18n.get('Video Flip'),
desc: i18n.get(keys[art.flip]),
icon: icons.config,
@@ -29,7 +29,7 @@ export default function flip(art) {
art.on('flip', (value) => {
item.$desc.innerText = i18n.get(keys[art.flip]);
const $current = queryAll('.art-setting-item', $panel).find((item) => item.dataset.value === value);
if ($current) {
inverseClass($current, 'art-current');