mirror of
https://github.com/ppy/osu.git
synced 2025-03-23 10:47:21 +08:00
Make CommentMarkdownTextFlowContainer
render images
This commit is contained in:
parent
c02990ad67
commit
b05acb0073
@ -18,8 +18,10 @@ namespace osu.Game.Overlays.Comments
|
||||
|
||||
private class CommentMarkdownTextFlowContainer : OsuMarkdownTextFlowContainer
|
||||
{
|
||||
// Don't render image in comment for now
|
||||
protected override void AddImage(LinkInline linkInline) { }
|
||||
protected override void AddImage(LinkInline linkInline)
|
||||
{
|
||||
AddDrawable(new OsuMarkdownImage(linkInline));
|
||||
}
|
||||
}
|
||||
|
||||
private class CommentMarkdownHeading : OsuMarkdownHeading
|
||||
|
Loading…
x
Reference in New Issue
Block a user