add level and isOrdered parameter

This commit is contained in:
Gagah Pangeran Rosfatiputra 2021-05-06 05:29:29 +07:00
parent 99e0cc9bbe
commit 9bb80492c5
No known key found for this signature in database
GPG Key ID: 25F6F17FD29031E2

View File

@ -50,7 +50,7 @@ namespace osu.Game.Graphics.Containers.Markdown
private void load()
{
var marker = parentTextComponent.CreateSpriteText();
marker.Text = GetTextMarker();
marker.Text = GetTextMarker(level, isOrdered);
if (isOrdered)
{
@ -67,7 +67,7 @@ namespace osu.Game.Graphics.Containers.Markdown
AddInternal(marker);
}
protected virtual string GetTextMarker()
protected virtual string GetTextMarker(int level, bool isOrdered)
{
if (isOrdered)
{