mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-03 18:24:30 +08:00
插件结构改造
This commit is contained in:
1 parent
8ab10d5612
commit
023d913ea7
53 files changed
+9640
-9816
No files matched your search
@@ -576,7 +576,7 @@ export function para3(chase: Chase) {
|
||||
'MT14',
|
||||
async () => {
|
||||
flags.finishChase1 = true;
|
||||
core.autoFixRouteBoss();
|
||||
core.plugin.towerBoss.autoFixRouteBoss();
|
||||
core.showStatusBar();
|
||||
ani.time(750).apply('rect', 0);
|
||||
chase.end();
|
||||
|
||||
@@ -105,16 +105,17 @@ function resetFlag() {
|
||||
}
|
||||
|
||||
export async function triggerFullscreen() {
|
||||
const { maxGameScale } = core.plugin.utils;
|
||||
if (document.fullscreenElement) {
|
||||
await document.exitFullscreen();
|
||||
requestAnimationFrame(() => {
|
||||
core.maxGameScale(1);
|
||||
maxGameScale(1);
|
||||
});
|
||||
fullscreen.value = false;
|
||||
} else {
|
||||
await document.body.requestFullscreen();
|
||||
requestAnimationFrame(() => {
|
||||
core.maxGameScale();
|
||||
maxGameScale();
|
||||
});
|
||||
fullscreen.value = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user