1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 06:42:54 +08:00

change markdown container font

This commit is contained in:
Gagah Pangeran Rosfatiputra 2021-08-03 22:14:44 +07:00
parent cb72667aa8
commit ed94266a5d
No known key found for this signature in database
GPG Key ID: 25F6F17FD29031E2
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ namespace osu.Game.Graphics.Containers.Markdown
public override SpriteText CreateSpriteText() => new OsuSpriteText
{
Font = OsuFont.GetFont(size: 14),
Font = OsuFont.GetFont(Typeface.Inter, size: 14, weight: FontWeight.Regular),
};
public override MarkdownTextFlowContainer CreateTextFlow() => new OsuMarkdownTextFlowContainer();

View File

@ -70,7 +70,7 @@ namespace osu.Game.Graphics.Containers.Markdown
public FontWeight FontWeight;
protected override SpriteText CreateSpriteText()
=> base.CreateSpriteText().With(t => t.Font = t.Font.With(size: FontSize, weight: FontWeight));
=> base.CreateSpriteText().With(t => t.Font = t.Font.With(Typeface.Torus, size: FontSize, weight: FontWeight));
}
}
}