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:
parent
5cd11a02ba
commit
45ff28f83b
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user