mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 16:11:20 -08:00
update
This commit is contained in:
1 parent
814a02d14a
commit
dabfb2b8c8
10 files changed
+133
-173
No files matched your search
@@ -0,0 +1,17 @@
|
||||
export default function subtitleOffset(art) {
|
||||
const { i18n } = art;
|
||||
|
||||
return {
|
||||
width: 150,
|
||||
html: i18n.get('Subtitle offset time'),
|
||||
items: [-5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5].map((item) => {
|
||||
return {
|
||||
html: item === 0 ? i18n.get('Normal') : item,
|
||||
current: item === 0,
|
||||
click() {
|
||||
art.subtitleOffset = item;
|
||||
},
|
||||
};
|
||||
}),
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user