mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 15:03:13 +08:00
Bake external scale factors into glyph scale
This commit is contained in:
parent
e119e045e4
commit
07e7d533bf
@ -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));
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user