mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-22 13:21:20 -08:00
update demo
This commit is contained in:
1 parent
fd836ec10f
commit
5bd2de4179
8 files changed
+14
-14
No files matched your search
@@ -8,7 +8,7 @@ export default function subtitleOffset(art) {
|
||||
}
|
||||
|
||||
return {
|
||||
width: 150,
|
||||
width: 200,
|
||||
html: i18n.get('Subtitle Offset'),
|
||||
desc: getI18n(art.subtitleOffset),
|
||||
icon: icons.subtitle,
|
||||
@@ -27,7 +27,7 @@ export default function subtitleOffset(art) {
|
||||
|
||||
art.on('subtitleOffset', (value) => {
|
||||
item.$desc.innerText = getI18n(art.subtitleOffset);
|
||||
|
||||
|
||||
const $current = queryAll('.art-setting-item', $panel).find(
|
||||
(item) => Number(item.dataset.value) === value,
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user