mirror of
https://github.com/ppy/osu
synced 2025-01-19 04:20:59 +00: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:
|
||||
container.Add(CreateNotice(yamlFrontMatterBlock));
|
||||
break;
|
||||
|
||||
default:
|
||||
base.AddMarkdownComponent(markdownObject, container, level);
|
||||
break;
|
||||
return;
|
||||
}
|
||||
|
||||
base.AddMarkdownComponent(markdownObject, container, level);
|
||||
}
|
||||
|
||||
public override MarkdownTextFlowContainer CreateTextFlow() => new WikiMarkdownTextFlowContainer();
|
||||
|
Loading…
Reference in New Issue
Block a user