mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
console layout WIP
This commit is contained in:
parent
7ade504ec0
commit
f4e98b2091
6 changed files with 10 additions and 4 deletions
|
|
@ -501,7 +501,7 @@ void Hud::updateElementsPosition(const Viewport& viewport) {
|
|||
));
|
||||
}
|
||||
secondUI->setPos(glm::vec2(
|
||||
glm::min(width/2-invwidth/2, width-caWidth-10-invwidth),
|
||||
glm::min(width/2-invwidth/2, width-caWidth-(inventoryView ? 10 : 0)-invwidth),
|
||||
height/2-totalHeight/2
|
||||
));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue