mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-17 01:56:16 -08:00
update setting
This commit is contained in:
1 parent
c9040e5eec
commit
e79d96f8f8
7 files changed
+3
-11
No files matched your search
@@ -4325,7 +4325,6 @@
|
||||
}),
|
||||
onSelect: function onSelect(item) {
|
||||
art.flip = item.value;
|
||||
return i18n.get(keys[item.value]);
|
||||
},
|
||||
mounted: function mounted($panel, item) {
|
||||
update($panel, item._$description, art.flip);
|
||||
@@ -4366,7 +4365,6 @@
|
||||
}),
|
||||
onSelect: function onSelect(item) {
|
||||
art.aspectRatio = item.value;
|
||||
return getI18n(item.value);
|
||||
},
|
||||
mounted: function mounted($panel, item) {
|
||||
update($panel, item._$description, art.aspectRatio);
|
||||
@@ -4407,7 +4405,6 @@
|
||||
}),
|
||||
onSelect: function onSelect(item) {
|
||||
art.playbackRate = item.value;
|
||||
return getI18n(item.value);
|
||||
},
|
||||
mounted: function mounted($panel, item) {
|
||||
update($panel, item._$description, art.playbackRate);
|
||||
@@ -4448,7 +4445,6 @@
|
||||
}),
|
||||
onSelect: function onSelect(item) {
|
||||
art.subtitleOffset = item.value;
|
||||
return getI18n(item.value);
|
||||
},
|
||||
mounted: function mounted($panel, item) {
|
||||
update($panel, item._$description, art.subtitleOffset);
|
||||
@@ -4583,7 +4579,7 @@
|
||||
addClass($item, 'art-current');
|
||||
}
|
||||
|
||||
if (item.value) {
|
||||
if (item.value !== undefined) {
|
||||
$item.dataset.value = item.value;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user