Pre-subnode update.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user