From 11d0f12455b1534efbd8edaef2c810e4dd61f2a2 Mon Sep 17 00:00:00 2001 From: Gagah Pangeran Rosfatiputra Date: Fri, 30 Apr 2021 11:36:51 +0700 Subject: [PATCH] change create text marker to virtual --- osu.Game/Graphics/Containers/Markdown/OsuMarkdownListItem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osu.Game/Graphics/Containers/Markdown/OsuMarkdownListItem.cs b/osu.Game/Graphics/Containers/Markdown/OsuMarkdownListItem.cs index f020e3e2fc..dce032d626 100644 --- a/osu.Game/Graphics/Containers/Markdown/OsuMarkdownListItem.cs +++ b/osu.Game/Graphics/Containers/Markdown/OsuMarkdownListItem.cs @@ -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) {