add various ui improvements
This commit is contained in:
parent
6d9522c80d
commit
48918f0139
17 changed files with 192 additions and 274 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue