删除多余事件

This commit is contained in:
Harvey committed 2019-11-28 10:10:29 +08:00
1 parent e0faa3fe68
commit 7ff61b4660
38 files changed
+266 -516

No files matched your search

@@ -3,6 +3,7 @@ import { query } from '../utils';
function settingMix(art) {
const {
i18n,
plugins,
subtitle,
events: { proxy },
} = art;
@@ -25,7 +26,7 @@ function settingMix(art) {
proxy($range, 'change', () => {
const { value } = $range;
$value.innerText = value;
art.plugins.subtitleOffset.offset(Number(value));
plugins.subtitleOffset.offset(Number(value));
});
art.on('subtitle:switch', () => {