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

Increased icon visibility for windows builds

This commit is contained in:
tobspr
2020-06-03 16:16:41 +02:00
parent 8779f1d5a3
commit bf93ded6cf
5 changed files with 16 additions and 19 deletions

View File

@@ -94,14 +94,15 @@ export class HubGoals extends BasicSerializableObject {
this.createNextGoal();
// Allow quickly switching goals in dev mode with key "C"
// Allow quickly switching goals in dev mode
if (G_IS_DEV) {
this.root.gameState.inputReciever.keydown.add(key => {
if (key.keyCode === 66) {
// Key: b
this.onGoalCompleted();
}
});
if (G_IS_DEV) {
window.addEventListener("keydown", ev => {
if (ev.key === "b") {
this.onGoalCompleted();
}
});
}
}
}

View File

@@ -28,7 +28,7 @@ export class HUDUnlockNotification extends BaseHUDPart {
createElements(parent) {
this.inputReciever = new InputReceiver("unlock-notification");
this.element = makeDiv(parent, "ingame_HUD_UnlockNotification", []);
this.element = makeDiv(parent, "ingame_HUD_UnlockNotification", ["noBlur"]);
const dialog = makeDiv(this.element, null, ["dialog"]);