Lowered value at which the HUD is considered as crammed

This commit is contained in:
Motschen
2022-09-23 21:06:21 +02:00
parent 429b4ca607
commit f5d5d93c19
2 changed files with 2 additions and 2 deletions

View File

@@ -82,7 +82,7 @@ public class MidnightControlsHud extends Hud {
public void render(MatrixStack matrices, float tickDelta) {
if (this.client == null) return;
if (MidnightControlsConfig.controlsMode == ControlsMode.CONTROLLER && this.client.currentScreen == null) {
isCrammed = client.getWindow().getScaledWidth() < 560;
isCrammed = client.getWindow().getScaledWidth() < 520;
int y = bottom(2);
matrices.push();
this.renderFirstIcons(matrices, MidnightControlsConfig.hudSide == HudSide.LEFT ? 2 : client.getWindow().getScaledWidth() - 2, y);