mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-27 12:24:30 +08:00
修复完成todo引起的bug
This commit is contained in:
1 parent
1854389966
commit
93fad2f637
4 files changed
+12
-20
No files matched your search
@@ -292,8 +292,6 @@ function handleScreenSetting<T extends number | boolean>(
|
||||
n: T,
|
||||
o: T
|
||||
) {
|
||||
if (n === o) return;
|
||||
|
||||
if (key === 'fullscreen') {
|
||||
// 全屏
|
||||
triggerFullscreen(n as boolean);
|
||||
@@ -336,8 +334,6 @@ function handleActionSetting<T extends number | boolean>(
|
||||
n: T,
|
||||
o: T
|
||||
) {
|
||||
if (n === o) return;
|
||||
|
||||
if (key === 'autoSkill') {
|
||||
// 自动切换技能
|
||||
flags.autoSkill = n;
|
||||
@@ -354,8 +350,6 @@ function handleUtilsSetting<T extends number | boolean>(
|
||||
n: T,
|
||||
o: T
|
||||
) {
|
||||
if (n === o) return;
|
||||
|
||||
if (key === 'betterLoad') {
|
||||
// 加载优化
|
||||
core.setLocalStorage('betterLoad', n);
|
||||
|
||||
Reference in new issue
Block a user