update setting

This commit is contained in:
zhw2590582 committed 2022-02-11 20:48:44 +08:00
1 parent c9040e5eec
commit e79d96f8f8
7 files changed
+3 -11

No files matched your search

@@ -27,7 +27,6 @@ export default function aspectRatio(art) {
}),
onSelect(item) {
art.aspectRatio = item.value;
return getI18n(item.value);
},
mounted: ($panel, item) => {
update($panel, item._$description, art.aspectRatio);
-1
View File
@@ -29,7 +29,6 @@ export default function flip(art) {
}),
onSelect(item) {
art.flip = item.value;
return i18n.get(keys[item.value]);
},
mounted: ($panel, item) => {
update($panel, item._$description, art.flip);
+1 -1
View File
@@ -119,7 +119,7 @@ export default class Setting extends Component {
addClass($item, 'art-current');
}
if (item.value) {
if (item.value !== undefined) {
$item.dataset.value = item.value;
}
@@ -27,7 +27,6 @@ export default function playbackRate(art) {
}),
onSelect(item) {
art.playbackRate = item.value;
return getI18n(item.value);
},
mounted: ($panel, item) => {
update($panel, item._$description, art.playbackRate);
@@ -27,7 +27,6 @@ export default function subtitleOffset(art) {
}),
onSelect(item) {
art.subtitleOffset = item.value;
return getI18n(item.value);
},
mounted: ($panel, item) => {
update($panel, item._$description, art.subtitleOffset);