mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Fix issues in preload state
This commit is contained in:
parent
e730a88ad1
commit
de56764103
@ -59,7 +59,7 @@ body {
|
|||||||
#ll_p {
|
#ll_p {
|
||||||
display: grid;
|
display: grid;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 99999;
|
z-index: 999;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
@ -1,11 +1,4 @@
|
|||||||
#state_PreloadState {
|
#state_PreloadState {
|
||||||
&.failure {
|
|
||||||
.loadingImage,
|
|
||||||
.loadingStatus {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.changelogDialogEntry {
|
.changelogDialogEntry {
|
||||||
@include S(margin-top, 10px);
|
@include S(margin-top, 10px);
|
||||||
|
|
||||||
@ -54,6 +47,18 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.failureBox {
|
.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 {
|
.logo {
|
||||||
img {
|
img {
|
||||||
@include S(width, 240px);
|
@include S(width, 240px);
|
||||||
|
@ -16,17 +16,6 @@ export class PreloadState extends GameState {
|
|||||||
super("PreloadState");
|
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() {
|
getThemeMusic() {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user