mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 16:12:57 +08:00
override CreateTextFlow in OsuMarkdownContainer
This commit is contained in:
parent
c686c5224b
commit
6cccbabad8
@ -12,6 +12,8 @@ namespace osu.Game.Graphics.Containers.Markdown
|
|||||||
{
|
{
|
||||||
public class OsuMarkdownContainer : MarkdownContainer
|
public class OsuMarkdownContainer : MarkdownContainer
|
||||||
{
|
{
|
||||||
|
public override MarkdownTextFlowContainer CreateTextFlow() => new OsuMarkdownTextFlowContainer();
|
||||||
|
|
||||||
protected override void AddMarkdownComponent(IMarkdownObject markdownObject, FillFlowContainer container, int level)
|
protected override void AddMarkdownComponent(IMarkdownObject markdownObject, FillFlowContainer container, int level)
|
||||||
{
|
{
|
||||||
switch (markdownObject)
|
switch (markdownObject)
|
||||||
|
Loading…
Reference in New Issue
Block a user