mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-20 04:01:20 -08:00
fix setting bug
This commit is contained in:
1 parent
38ad57192d
commit
ff54b34275
5 files changed
+8
-2
No files matched your search
@@ -31,6 +31,7 @@ export default function aspectRatio(art) {
|
||||
}),
|
||||
onSelect(item) {
|
||||
art.aspectRatio = item.value;
|
||||
return item.value;
|
||||
},
|
||||
mounted: ($panel, item) => {
|
||||
update($panel, item.$tooltip, art.aspectRatio);
|
||||
|
||||
@@ -27,6 +27,7 @@ export default function flip(art) {
|
||||
}),
|
||||
onSelect(item) {
|
||||
art.flip = item.value;
|
||||
return item.value;
|
||||
},
|
||||
mounted: ($panel, item) => {
|
||||
update($panel, item.$tooltip, art.flip);
|
||||
|
||||
@@ -31,6 +31,7 @@ export default function playbackRate(art) {
|
||||
}),
|
||||
onSelect(item) {
|
||||
art.playbackRate = item.value;
|
||||
return item.value;
|
||||
},
|
||||
mounted: ($panel, item) => {
|
||||
update($panel, item.$tooltip, art.playbackRate);
|
||||
|
||||
Reference in new issue
Block a user