mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
fixed hotbar visibility in hud hidden mode
This commit is contained in:
parent
9c3052ecd0
commit
ae9c1e9a87
1 changed files with 1 additions and 0 deletions
|
|
@ -345,6 +345,7 @@ void HudRenderer::update(bool visible) {
|
|||
inventoryView->visible(inventoryOpen);
|
||||
contentAccessPanel->visible(inventoryOpen);
|
||||
contentAccessPanel->size(glm::vec2(invSize.x, Window::height));
|
||||
hotbarView->visible(visible);
|
||||
|
||||
for (int i = keycode::NUM_1; i <= keycode::NUM_9; i++) {
|
||||
if (Events::jpressed(i)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue