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

rename method add entry

This commit is contained in:
Gagah Pangeran Rosfatiputra 2021-06-04 23:32:42 +07:00
parent 70c64af25e
commit 5febbe4530
No known key found for this signature in database
GPG Key ID: 25F6F17FD29031E2
3 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ namespace osu.Game.Tests.Visual.Online
Level = subtitle ? 3 : 2,
};
var heading = new OsuMarkdownHeading(headingBlock);
sidebar.AddToc(headingBlock, heading);
sidebar.AddEntry(headingBlock, heading);
}
}
}

View File

@ -52,7 +52,7 @@ namespace osu.Game.Overlays.Wiki
Left = 30,
Right = 50,
},
OnAddHeading = sidebar.AddToc,
OnAddHeading = sidebar.AddEntry,
}
},
};

View File

@ -40,7 +40,7 @@ namespace osu.Game.Overlays.Wiki
},
};
public void AddToc(HeadingBlock headingBlock, MarkdownHeading heading)
public void AddEntry(HeadingBlock headingBlock, MarkdownHeading heading)
{
switch (headingBlock.Level)
{