refactor: fixedUi迁移

This commit is contained in:
AncTe committed 2023-11-08 19:50:11 +08:00
1 parent 0ed7e03f40
commit 4796334ec4
15 files changed
+35 -66

No files matched your search

+1 -2
View File
@@ -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);