1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-06-01 04:43:37 +02:00

that didn't work lol

This commit is contained in:
Ellpeck 2020-03-19 17:45:01 +01:00
parent dd53b0681e
commit ce50c6d569

View file

@ -17,10 +17,6 @@ namespace MLEM.Extended.Font {
}
public Vector2 MeasureString(string text) {
// For some reason, Extended's bitmap fonts don't take kerning into
// account when calculating the size of a single character
if (text.Length == 1)
text += '\u200B';
return this.Font.MeasureString(text);
}