mirror of
https://github.com/ppy/osu.git
synced 2025-02-23 17:22:54 +08:00
Merge pull request #29426 from peppy/fix-dot-misalign
Fix some characters ('.', ',') being misaligned in legacy counters
This commit is contained in:
commit
70cfac0eb8
@ -96,7 +96,7 @@ namespace osu.Game.Skinning
|
|||||||
if (maxSize != null)
|
if (maxSize != null)
|
||||||
texture = texture.WithMaximumSize(maxSize.Value);
|
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;
|
cache[character] = glyph;
|
||||||
|
Loading…
Reference in New Issue
Block a user