1
0
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:
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
{
// 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