override add auto link in text flow container

This commit is contained in:
Gagah Pangeran Rosfatiputra 2021-07-10 17:58:00 +07:00
parent 45ff28f83b
commit e4f13e311e
No known key found for this signature in database
GPG Key ID: 25F6F17FD29031E2

View File

@ -17,6 +17,9 @@ namespace osu.Game.Graphics.Containers.Markdown
protected override void AddLinkText(string text, LinkInline linkInline)
=> AddDrawable(new OsuMarkdownLinkText(text, linkInline));
protected override void AddAutoLink(AutolinkInline autolinkInline)
=> AddDrawable(new OsuMarkdownLinkText(autolinkInline));
protected override void AddImage(LinkInline linkInline) => AddDrawable(new OsuMarkdownImage(linkInline));
// TODO : Change font to monospace