mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-20 04:01:20 -08:00
update
This commit is contained in:
1 parent
5e9057f060
commit
4d66a8538d
18 files changed
+137
-118
No files matched your search
@@ -5,11 +5,11 @@ export default function playbackRate(art) {
|
||||
width: 150,
|
||||
html: i18n.get('Play Speed'),
|
||||
icon: icons.playbackRate,
|
||||
children: [0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.0].map((item) => {
|
||||
selector: [0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.0].map((item) => {
|
||||
return {
|
||||
html: item === 1.0 ? i18n.get('Normal') : item,
|
||||
current: item === 1.0,
|
||||
click() {
|
||||
onSelect() {
|
||||
art.playbackRate = item;
|
||||
},
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user