mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +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;
|
||||
}
|
||||
|
||||
Glyph* glyph = glyph;
|
||||
Glyph* glyph = getGlyph(character);
|
||||
if(glyph)
|
||||
lineWidth += glyph->advance.x();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue