修复字幕偏移错误

This commit is contained in:
Harvey committed 2019-11-28 11:35:49 +08:00
1 parent 54e9fb9ae2
commit 4722226658
3 files changed
+3 -5

No files matched your search

+1 -2
View File
@@ -3805,7 +3805,6 @@
function settingMix(art) {
var i18n = art.i18n,
plugins = art.plugins,
subtitle = art.subtitle,
proxy = art.events.proxy;
return {
@@ -3819,7 +3818,7 @@
proxy($range, 'change', function () {
var value = $range.value;
$value.innerText = value;
plugins.subtitleOffset.offset(Number(value));
art.plugins.subtitleOffset.offset(Number(value));
});
art.on('subtitle:switch', function () {
$range.value = 0;