This commit is contained in:
Jorijn van der Graaf 2025-12-29 22:21:22 +01:00
commit d26d71ec91
5 changed files with 9 additions and 0 deletions

View file

@ -41,6 +41,7 @@ void GridElement::UpdatePositionScaled(Window& window) {
// Calculate position for this child
std::int_fast32_t childX = (cellWidth * col) + (spacingX * col) + paddingX;
std::int_fast32_t childY = (cellHeight * row) + (spacingY * row) + paddingY;
// Apply relative positioning