1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 15:33:05 +08:00

rename toc entry

This commit is contained in:
Gagah Pangeran Rosfatiputra 2021-06-04 23:31:51 +07:00
parent a82eeb6daf
commit 70c64af25e
No known key found for this signature in database
GPG Key ID: 25F6F17FD29031E2

View File

@ -47,7 +47,7 @@ namespace osu.Game.Overlays.Wiki
case 2:
case 3:
string title = getTitle(headingBlock.Inline);
tableOfContents.Add(new TocTitle(title, heading, headingBlock.Level == 3));
tableOfContents.Add(new TableOfContentsEntry(title, heading, headingBlock.Level == 3));
break;
}
}
@ -69,7 +69,7 @@ namespace osu.Game.Overlays.Wiki
return string.Empty;
}
private class TocTitle : OsuHoverContainer
private class TableOfContentsEntry : OsuHoverContainer
{
[Resolved]
private OverlayScrollContainer scrollContainer { get; set; }
@ -78,7 +78,7 @@ namespace osu.Game.Overlays.Wiki
private readonly OsuTextFlowContainer textFlow;
public TocTitle(string text, MarkdownHeading target, bool subtitle = false)
public TableOfContentsEntry(string text, MarkdownHeading target, bool subtitle = false)
{
this.target = target;