mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 00:42:55 +08:00
change create text marker to virtual
This commit is contained in:
parent
3681db491c
commit
11d0f12455
@ -49,7 +49,7 @@ namespace osu.Game.Graphics.Containers.Markdown
|
||||
private void load()
|
||||
{
|
||||
var marker = parentTextComponent.CreateSpriteText();
|
||||
marker.Text = createTextMarker();
|
||||
marker.Text = CreateTextMarker();
|
||||
|
||||
if (isOrdered)
|
||||
{
|
||||
@ -66,7 +66,7 @@ namespace osu.Game.Graphics.Containers.Markdown
|
||||
AddInternal(marker);
|
||||
}
|
||||
|
||||
private string createTextMarker()
|
||||
protected virtual string CreateTextMarker()
|
||||
{
|
||||
if (isOrdered)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user