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

@@ -8,7 +8,7 @@ yarn_mappings=1.19.2+build.9
loader_version=0.14.9
# Mod Properties
mod_version = 1.6.0
mod_version = 1.6.1-dev
maven_group = eu.midnightdust
archives_base_name = midnightcontrols
modrinth_id=bXX9h73M

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);