diff --git a/src/frontend/hud.cpp b/src/frontend/hud.cpp index 1c4b720a..26f636cd 100644 --- a/src/frontend/hud.cpp +++ b/src/frontend/hud.cpp @@ -603,6 +603,7 @@ void Hud::draw(const DrawContext& ctx){ updateElementsPosition(viewport); uicamera->setFov(height); + uicamera->setAspectRatio(viewport.getRatio()); auto batch = ctx.getBatch2D(); batch->begin();