修复主页面显示魔墙时开机异常

This commit is contained in:
miao 2023-02-22 14:51:38 +08:00
parent 09c37b7e82
commit f0f340e9a9
1 changed files with 2 additions and 4 deletions

View File

@ -245,7 +245,7 @@
} }
.magic_wall { .magic_wall {
border: 1px solid black; border: 1px solid black;
background-color: rgb(50,130,246); background-color: rgb(50, 130, 246);
position: absolute; position: absolute;
} }
.magic_wall_select { .magic_wall_select {
@ -748,8 +748,6 @@ export default defineComponent({
} }
}); });
} }
refresh_windows_pos();
} }
} }
}; };
@ -978,7 +976,6 @@ export default defineComponent({
} }
} }
break; break;
} }
} catch {} } catch {}
} }
@ -991,6 +988,7 @@ export default defineComponent({
(element: HTMLElement) => { (element: HTMLElement) => {
if ($store.state.custom_defines.function_magic_wall) { if ($store.state.custom_defines.function_magic_wall) {
show_magic_wall(); show_magic_wall();
refresh_windows_pos();
} }
if (element) { if (element) {
calcWallItemWH(); calcWallItemWH();