1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Fix issues in preload state

This commit is contained in:
tobspr
2022-06-17 14:16:25 +02:00
parent e730a88ad1
commit de56764103
3 changed files with 13 additions and 19 deletions

View File

@@ -1,11 +1,4 @@
#state_PreloadState {
&.failure {
.loadingImage,
.loadingStatus {
display: none;
}
}
.changelogDialogEntry {
@include S(margin-top, 10px);
@@ -54,6 +47,18 @@
}
.failureBox {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 999999;
background: #d5d8de;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
.logo {
img {
@include S(width, 240px);

View File

@@ -16,17 +16,6 @@ export class PreloadState extends GameState {
super("PreloadState");
}
getInnerHTML() {
return `
<div class="loadingImage"></div>
<div class="loadingStatus">
<span class="desc">${G_CHINA_VERSION || G_WEGAME_VERSION ? "加载中" : "Booting"}</span>
</div>
</div>
<span class="prefab_GameHint"></span>
`;
}
getThemeMusic() {
return null;
}