refactor: 迁移旧ui至新ui系统

This commit is contained in:
AncTe committed 2023-11-05 10:54:26 +08:00
1 parent 9a97a470f1
commit 8fcc570e5d
29 files changed
+219 -320

No files matched your search

+5 -1
View File
@@ -82,6 +82,10 @@ import { isMobile } from '../plugin/use';
import { sleep } from 'mutate-animate';
import { KeyCode } from '../plugin/keyCodes';
const props = defineProps<{
num: number;
}>();
let canvas: HTMLCanvasElement;
let ctx: CanvasRenderingContext2D;
@@ -173,7 +177,7 @@ const level = computed(() => {
});
function exit() {
mota.plugin.ui.skillTreeOpened.value = false;
mota.ui.main.close(props.num);
}
function resize() {