mirror of
https://github.com/ppy/osu.git
synced 2026-05-25 23:30:51 +08:00
Make CommentMarkdownTextFlowContainer render images
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user