mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-17 12:44:31 +08:00
refactor: 迁移旧ui至新ui系统
This commit is contained in:
1 parent
9a97a470f1
commit
8fcc570e5d
29 files changed
+219
-320
No files matched your search
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user