mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Minor adjustments
This commit is contained in:
parent
d0aa6db630
commit
fe97d28674
@ -480,7 +480,7 @@ canvas {
|
||||
}
|
||||
}
|
||||
|
||||
.hint {
|
||||
.prefab_GameHint {
|
||||
position: absolute;
|
||||
@include S(left, 20px);
|
||||
@include S(right, 20px);
|
||||
|
@ -14,7 +14,7 @@
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.hint {
|
||||
.prefab_GameHint {
|
||||
position: absolute;
|
||||
@include S(bottom, 40px);
|
||||
@include S(left, 20px);
|
||||
|
@ -29,6 +29,7 @@ export const CHANGELOG = [
|
||||
"Allow editing waypoints (by isaisstillalive)",
|
||||
"Show confirmation when cutting area which is too expensive to get pasted again (by isaisstillalive)",
|
||||
"Show mouse and camera tile on debug overlay (F4) (by dengr)",
|
||||
"Added confirmation when deleting a savegame",
|
||||
"Fixed tunnels entrances connecting to exits sometimes when they shouldn't",
|
||||
"Added setting to auto select the extractor when pipetting a resource patch (by Exund)",
|
||||
"The initial belt planner direction is now based on the cursor movement (by MizardX)",
|
||||
|
@ -65,7 +65,7 @@ export class GameLoadingOverlay {
|
||||
internalAddHint(element) {
|
||||
const hint = document.createElement("span");
|
||||
hint.innerHTML = randomChoice(T.tips);
|
||||
hint.classList.add("hint");
|
||||
hint.classList.add("prefab_GameHint");
|
||||
element.appendChild(hint);
|
||||
}
|
||||
}
|
||||
|
@ -27,7 +27,7 @@ export class PreloadState extends GameState {
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<span class="hint"></span>
|
||||
<span class="prefab_GameHint"></span>
|
||||
`;
|
||||
}
|
||||
|
||||
@ -62,7 +62,7 @@ export class PreloadState extends GameState {
|
||||
this.statusBarText = this.htmlElement.querySelector(".loadingStatus > .bar > .status");
|
||||
|
||||
/** @type {HTMLElement} */
|
||||
this.hintsText = this.htmlElement.querySelector(".hint");
|
||||
this.hintsText = this.htmlElement.querySelector(".prefab_GameHint");
|
||||
this.lastHintShown = -1000;
|
||||
this.nextHintDuration = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user