Make CommentMarkdownTextFlowContainer render images

This commit is contained in:
basseX
2022-08-13 21:32:24 +02:00
parent c02990ad67
commit b05acb0073

View File

@ -18,8 +18,10 @@ namespace osu.Game.Overlays.Comments
private class CommentMarkdownTextFlowContainer : OsuMarkdownTextFlowContainer 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 private class CommentMarkdownHeading : OsuMarkdownHeading