mirror of https://github.com/ppy/osu
Use zero baseline for legacy sprite text display
This commit is contained in:
parent
8bfb5cedc4
commit
054366b25d
|
@ -96,7 +96,7 @@ public LegacyGlyphStore(string fontName, ISkin skin, Vector2? maxSize)
|
|||
if (maxSize != null)
|
||||
texture = texture.WithMaximumSize(maxSize.Value);
|
||||
|
||||
glyph = new TexturedCharacterGlyph(new CharacterGlyph(character, 0, 0, texture.Width, texture.Height, null), texture, 1f / texture.ScaleAdjust);
|
||||
glyph = new TexturedCharacterGlyph(new CharacterGlyph(character, 0, 0, texture.Width, 0, null), texture, 1f / texture.ScaleAdjust);
|
||||
}
|
||||
|
||||
cache[character] = glyph;
|
||||
|
|
Loading…
Reference in New Issue