mirror of
https://github.com/ppy/osu.git
synced 2025-02-20 01:33:12 +08:00
add OsuMarkdownTextFlowContainer
This commit is contained in:
parent
aa07482cbb
commit
c686c5224b
@ -0,0 +1,14 @@
|
|||||||
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||||
|
// See the LICENCE file in the repository root for full licence text.
|
||||||
|
|
||||||
|
using Markdig.Syntax.Inlines;
|
||||||
|
using osu.Framework.Graphics.Containers.Markdown;
|
||||||
|
|
||||||
|
namespace osu.Game.Graphics.Containers.Markdown
|
||||||
|
{
|
||||||
|
public class OsuMarkdownTextFlowContainer : MarkdownTextFlowContainer
|
||||||
|
{
|
||||||
|
protected override void AddLinkText(string text, LinkInline linkInline)
|
||||||
|
=> AddDrawable(new OsuMarkdownLinkText(text, linkInline));
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user