1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 06:29:52 +08:00

Use zero baseline for legacy sprite text display

This commit is contained in:
Dean Herbert
2024-08-15 13:07:42 +09:00
Unverified
parent 8bfb5cedc4
commit 054366b25d
+1 -1
View File
@@ -96,7 +96,7 @@ namespace osu.Game.Skinning
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;