mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 02:42:54 +08:00
rename method add entry
This commit is contained in:
parent
70c64af25e
commit
5febbe4530
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -52,7 +52,7 @@ namespace osu.Game.Overlays.Wiki
|
||||
Left = 30,
|
||||
Right = 50,
|
||||
},
|
||||
OnAddHeading = sidebar.AddToc,
|
||||
OnAddHeading = sidebar.AddEntry,
|
||||
}
|
||||
},
|
||||
};
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user