1
0
mirror of https://github.com/minetest/minetest.git synced 2025-06-30 23:20:22 +02:00

Resize hotbar immediately before drawing (#12930)

This commit is contained in:
x2048
2022-11-09 17:57:55 +01:00
committed by GitHub
parent d1b80b462e
commit 81bfc9c7a2
2 changed files with 2 additions and 2 deletions

View File

@ -49,6 +49,8 @@ void DrawHUD::run(PipelineContext &context)
if (context.shadow_renderer)
context.shadow_renderer->drawDebug();
context.hud->resizeHotbar();
if (context.draw_crosshair)
context.hud->drawCrosshair();