fix:修正点击跳过剧情选项没有立即刷新的bug

This commit is contained in:
ShakeFlower 2025-09-24 10:45:14 +08:00
parent ee9caac078
commit f75a9a20ec

View File

@ -4805,13 +4805,19 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
}, },
skipText: { skipText: {
getName: () => '跳过剧情:' + (core.getLocalStorage('skipText', false) ? '开' : '关'), getName: () => '跳过剧情:' + (core.getLocalStorage('skipText', false) ? '开' : '关'),
effect: () => { invertLocalStorage('skipText'); }, effect: () => {
invertLocalStorage('skipText');
checkSkipFuncs();
},
text: '跳过全部文字对话。初见请勿开启此选项。', text: '跳过全部文字对话。初见请勿开启此选项。',
replay: false, replay: false,
}, },
skipPeform: { skipPeform: {
getName: () => '跳过演出:' + (core.getLocalStorage('skipPerform', false) ? '开' : '关'), getName: () => '跳过演出:' + (core.getLocalStorage('skipPerform', false) ? '开' : '关'),
effect: () => { invertLocalStorage('skipPerform'); }, effect: () => {
invertLocalStorage('skipPerform');
checkSkipFuncs();
},
text: '加速等待、播放动画等常见演出效果。', text: '加速等待、播放动画等常见演出效果。',
replay: false, replay: false,
}, },