From c14b7536a460899701f7694dbf95225a39307b51 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Sun, 31 Jul 2022 14:57:19 +0200 Subject: [PATCH] HUD: Fix wrong minimum scale since 051181f Caused by wrong interpretation of the settingtypes.txt format --- src/client/hud.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/hud.cpp b/src/client/hud.cpp index c05ce76e8..c0c289608 100644 --- a/src/client/hud.cpp +++ b/src/client/hud.cpp @@ -55,7 +55,7 @@ Hud::Hud(Client *client, LocalPlayer *player, this->player = player; this->inventory = inventory; - m_hud_scaling = g_settings->getFloat("hud_scaling", 1.0f, 20.0f); + m_hud_scaling = g_settings->getFloat("hud_scaling", 0.5f, 20.0f); m_scale_factor = m_hud_scaling * RenderingEngine::getDisplayDensity(); m_hotbar_imagesize = std::floor(HOTBAR_IMAGE_SIZE * RenderingEngine::getDisplayDensity() + 0.5f);