mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
hide hotbar on overlays with inventory hidden
This commit is contained in:
parent
a66228eb41
commit
8f26397e56
1 changed files with 1 additions and 1 deletions
|
|
@ -285,7 +285,7 @@ void Hud::update(bool visible) {
|
|||
contentAccessPanel->setVisible(inventoryView != nullptr);
|
||||
contentAccessPanel->setSize(glm::vec2(invSize.x, Window::height));
|
||||
contentAccess->setMinSize(glm::vec2(1, Window::height));
|
||||
hotbarView->setVisible(visible);
|
||||
hotbarView->setVisible(visible && !(secondUI && !inventoryView));
|
||||
|
||||
if (visible) {
|
||||
for (auto& element : elements) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue