mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-17 18:11:20 -08:00
修复字幕偏移错误
This commit is contained in:
1 parent
54e9fb9ae2
commit
4722226658
3 files changed
+3
-5
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user