mirror of
https://github.com/ppy/osu
synced 2025-01-09 23:59:44 +00:00
add level and isOrdered parameter
This commit is contained in:
parent
99e0cc9bbe
commit
9bb80492c5
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user