优化字幕结构

This commit is contained in:
Harvey committed 2019-11-15 10:17:11 +08:00
1 parent 3965132252
commit 9f2038539e
12 files changed
+137 -257

No files matched your search

@@ -3,6 +3,7 @@ import { query } from '../utils';
function settingMix(art) {
const {
i18n,
subtitle,
events: { proxy },
} = art;
@@ -33,6 +34,7 @@ function settingMix(art) {
});
art.on('artplayerPluginSubtitleOffset', value => {
subtitle.update();
if ($range.value !== value) {
$range.value = value;
$value.innerText = value;