1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 03:27:24 +08:00

Bake external scale factors into glyph scale

This commit is contained in:
Salman Ahmed 2023-10-26 10:01:27 +03:00
parent e119e045e4
commit 07e7d533bf
2 changed files with 1 additions and 4 deletions

View File

@ -113,7 +113,7 @@ namespace osu.Game.Screens.Play.HUD
if (texture == null)
return null;
return new TexturedCharacterGlyph(new CharacterGlyph(character, 0, 0, texture.Width, texture.Height, null), texture, 0.25f);
return new TexturedCharacterGlyph(new CharacterGlyph(character, 0, 0, texture.Width, texture.Height, null), texture, 0.125f);
}
public Task<ITexturedCharacterGlyph?> GetAsync(string fontName, char character) => Task.Run(() => Get(fontName, character));

View File

@ -139,10 +139,7 @@ namespace osu.Game.Skinning
scoreWedge.Position = new Vector2(-50, 50);
if (score != null)
{
score.Scale = new Vector2(0.5f);
score.Position = new Vector2(components_x_offset, scoreWedge.Y + 15);
}
if (accuracy != null)
{