1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 19:22:56 +08:00

override CreateTextFlow in OsuMarkdownContainer

This commit is contained in:
Gagah Pangeran Rosfatiputra 2021-04-27 14:19:16 +07:00
parent c686c5224b
commit 6cccbabad8
No known key found for this signature in database
GPG Key ID: 25F6F17FD29031E2

View File

@ -12,6 +12,8 @@ namespace osu.Game.Graphics.Containers.Markdown
{
public class OsuMarkdownContainer : MarkdownContainer
{
public override MarkdownTextFlowContainer CreateTextFlow() => new OsuMarkdownTextFlowContainer();
protected override void AddMarkdownComponent(IMarkdownObject markdownObject, FillFlowContainer container, int level)
{
switch (markdownObject)