mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-27 12:24:30 +08:00
refactor: fixedUi迁移
This commit is contained in:
1 parent
0ed7e03f40
commit
4796334ec4
15 files changed
+35
-66
No files matched your search
@@ -1,6 +1,5 @@
|
||||
import { reactive } from 'vue';
|
||||
import { EmitableEvent, EventEmitter } from '../common/eventEmitter';
|
||||
import { transition } from '@/plugin/uiController';
|
||||
import { loading } from '../loader/load';
|
||||
import { hook } from './game';
|
||||
import { GameStorage } from './storage';
|
||||
@@ -297,7 +296,7 @@ function handleScreenSetting<T extends number | boolean>(
|
||||
} else if (key === 'transition') {
|
||||
// 界面动画
|
||||
core.setLocalStorage('transition', n);
|
||||
transition.value = n as boolean;
|
||||
// transition.value = n as boolean;
|
||||
} else if (key === 'antiAlias') {
|
||||
// 抗锯齿
|
||||
core.setLocalStorage('antiAlias', n);
|
||||
|
||||
Reference in new issue
Block a user