mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-18 04:45:39 +00:00
Fixed Font::getWrappedCursorOffset.
This commit is contained in:
parent
50d2ba2291
commit
885efcf431
|
@ -688,7 +688,7 @@ Eigen::Vector2f Font::getWrappedTextCursorOffset(std::string text, float xLen, s
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
Glyph* glyph = glyph;
|
Glyph* glyph = getGlyph(character);
|
||||||
if(glyph)
|
if(glyph)
|
||||||
lineWidth += glyph->advance.x();
|
lineWidth += glyph->advance.x();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue