mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-25 05:35:25 +02:00
Fix labels and vertlabels on some systems.
This commit is contained in:
@@ -583,7 +583,7 @@ void CGUITTFont::draw(const core::stringw& text, const core::rect<s32>& position
|
||||
if (lineBreak)
|
||||
{
|
||||
previousChar = 0;
|
||||
offset.Y += font_metrics.ascender / 64;
|
||||
offset.Y += font_metrics.height / 64;
|
||||
offset.X = position.UpperLeftCorner.X;
|
||||
|
||||
if (hcenter)
|
||||
|
||||
Reference in New Issue
Block a user