修改插件加载机制

This commit is contained in:
AncTe committed 2023-08-01 12:22:05 +08:00
1 parent 0604c56e98
commit d2746c4dc5
43 files changed
+527 -490

No files matched your search

+2 -2
View File
@@ -173,7 +173,7 @@ const level = computed(() => {
});
function exit() {
core.plugin.skillTreeOpened.value = false;
ancTe.plugin.ui.skillTreeOpened.value = false;
}
function resize() {
@@ -274,7 +274,7 @@ onMounted(async () => {
draw();
await sleep(50);
if (core.plugin.transition.value) await sleep(600);
if (ancTe.plugin.ui.transition.value) await sleep(600);
canvas.addEventListener('click', click);
document.addEventListener('keyup', key);
});