Pre-subnode update.

This commit is contained in:
YourWishes committed 2023-07-10 12:04:34 -07:00
1 parent 7c12906aac
commit 72fadf868a
7 files changed
+530 -25

No files matched your search

@@ -126,7 +126,7 @@ void UILabel::rebufferQuads(const std::vector<struct UILabelText> newTexts) {
// Determine font dimensions.
auto itText = newTexts.begin();
while(itText != newTexts.end()) {
position.y = mathMax<float_t>(position.y, itText->style.size * this->lineHeight);
position.y = mathMax<float_t>(position.y, itText->style.size/* this->lineHeight - THIS PART WOULD TAKE THE LINE HEIGHT INTO CONSIDERATION ON THE FIRST/INITIAL LINE */);
++itText;
}