Totally refactored UILabel

This commit is contained in:
2023-03-05 23:42:15 -08:00
parent b9a6620902
commit 98eb09f288
16 changed files with 463 additions and 199 deletions

View File

@ -78,11 +78,6 @@ void UIComponent::updatePositions() {
glm::vec2(this->alignment[1], this->alignment[3])
);
// this->relativeX = mathRound<float_t>(this->relativeX);
// this->relativeY = mathRound<float_t>(this->relativeY);
// this->width = mathRound<float_t>(this->width);
// this->height = mathRound<float_t>(this->height);
// Update children
auto it = this->children.begin();
while(it != this->children.end()) {