mirror of
https://github.com/osukey/osukey.git
synced 2025-05-11 16:47:19 +09:00
rename toc entry
This commit is contained in:
parent
a82eeb6daf
commit
70c64af25e
@ -47,7 +47,7 @@ namespace osu.Game.Overlays.Wiki
|
|||||||
case 2:
|
case 2:
|
||||||
case 3:
|
case 3:
|
||||||
string title = getTitle(headingBlock.Inline);
|
string title = getTitle(headingBlock.Inline);
|
||||||
tableOfContents.Add(new TocTitle(title, heading, headingBlock.Level == 3));
|
tableOfContents.Add(new TableOfContentsEntry(title, heading, headingBlock.Level == 3));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -69,7 +69,7 @@ namespace osu.Game.Overlays.Wiki
|
|||||||
return string.Empty;
|
return string.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
private class TocTitle : OsuHoverContainer
|
private class TableOfContentsEntry : OsuHoverContainer
|
||||||
{
|
{
|
||||||
[Resolved]
|
[Resolved]
|
||||||
private OverlayScrollContainer scrollContainer { get; set; }
|
private OverlayScrollContainer scrollContainer { get; set; }
|
||||||
@ -78,7 +78,7 @@ namespace osu.Game.Overlays.Wiki
|
|||||||
|
|
||||||
private readonly OsuTextFlowContainer textFlow;
|
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;
|
this.target = target;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user