mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 17:47:29 +08:00
Split out base
call from switch
statement
This commit is contained in:
parent
9de07de467
commit
e4780abdfd
@ -23,12 +23,10 @@ namespace osu.Game.Overlays.Wiki.Markdown
|
|||||||
{
|
{
|
||||||
case YamlFrontMatterBlock yamlFrontMatterBlock:
|
case YamlFrontMatterBlock yamlFrontMatterBlock:
|
||||||
container.Add(CreateNotice(yamlFrontMatterBlock));
|
container.Add(CreateNotice(yamlFrontMatterBlock));
|
||||||
break;
|
return;
|
||||||
|
|
||||||
default:
|
|
||||||
base.AddMarkdownComponent(markdownObject, container, level);
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
base.AddMarkdownComponent(markdownObject, container, level);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override MarkdownTextFlowContainer CreateTextFlow() => new WikiMarkdownTextFlowContainer();
|
public override MarkdownTextFlowContainer CreateTextFlow() => new WikiMarkdownTextFlowContainer();
|
||||||
|
Loading…
Reference in New Issue
Block a user