1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-25 17:10:09 +08:00

Make CommentMarkdownTextFlowContainer render images

This commit is contained in:
basseX
2022-08-13 21:32:24 +02:00
Unverified
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