mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
cleanup
This commit is contained in:
parent
95721a6864
commit
5f76e72748
18 changed files with 44 additions and 44 deletions
|
|
@ -72,7 +72,7 @@ void Panel::refresh() {
|
|||
float x = padding.x;
|
||||
float y = padding.y;
|
||||
glm::vec2 size = getSize();
|
||||
if (orientation == Orientation::vertical) {
|
||||
if (orientation == Orientation::VERTICAL) {
|
||||
float maxw = size.x;
|
||||
for (auto& node : nodes) {
|
||||
const glm::vec4 margin = node->getMargin();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue