1
0
Fork 0

add various ui improvements

This commit is contained in:
Sen 2025-06-12 19:27:41 +02:00
parent 6d9522c80d
commit 48918f0139
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
17 changed files with 192 additions and 274 deletions

View file

@ -1115,7 +1115,7 @@ public class Client implements IThreadListener {
if(this.open != null)
this.open.render();
else if(this.world == null || this.charEditor)
Drawing.drawScaled(this, Gui.DIRT_BACKGROUND);
Drawing.drawScaled(this, Gui.BACKGROUND);
if(Bind.INFO.isDown() && (this.open == null || !(this.open.selected instanceof client.gui.element.Field || this.open.selected instanceof Area)))
this.drawInfo();
if(this.hudOverlay && !(this.open instanceof GuiConsole)) {
@ -2351,7 +2351,7 @@ public class Client implements IThreadListener {
public void disconnected(String msg) {
Log.NETWORK.info("Getrennt: %s", msg);
this.unload(true);
this.displayGuiScreen(new GuiInfo("Von Server getrennt", TextColor.RED + "Verbindung zum Server wurde getrennt\n\n" + TextColor.RESET + msg));
this.displayGuiScreen(new GuiInfo("Von Server getrennt", TextColor.RED + "Verbindung zum Server wurde getrennt\n\n" + TextColor.RESET + msg, true));
}
@ -2560,7 +2560,7 @@ public class Client implements IThreadListener {
public String apply(DebugFunction func) {
return TextColor.CYAN + bind + TextColor.RED + "+" + TextColor.GREEN + func.key.getDisplay() + TextColor.GRAY + " - " + TextColor.YELLOW + func.help;
}
}, Client.this.debug.values())));
}, Client.this.debug.values()), true));
}
});
this.registerDebug(Keysym.N, "NoClip umschalten", new DebugRunner() {