1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 05:42:56 +08:00

add autolink constructor

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

View File

@ -26,6 +26,12 @@ namespace osu.Game.Graphics.Containers.Markdown
title = linkInline.Title;
}
public OsuMarkdownLinkText(AutolinkInline autolinkInline)
: base(autolinkInline)
{
text = autolinkInline.Url;
}
[BackgroundDependencyLoader]
private void load()
{