mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 09:47:52 +08:00
add ShowPage method in WikiOverlay
This commit is contained in:
parent
004cd7c834
commit
463774d4f2
@ -62,6 +62,12 @@ namespace osu.Game.Overlays
|
||||
});
|
||||
}
|
||||
|
||||
public void ShowPage(string pagePath = index_path)
|
||||
{
|
||||
path.Value = pagePath.Trim('/');
|
||||
Show();
|
||||
}
|
||||
|
||||
protected override WikiHeader CreateHeader() => new WikiHeader();
|
||||
|
||||
protected override void LoadComplete()
|
||||
|
Loading…
Reference in New Issue
Block a user