mirror of https://github.com/ppy/osu
add ShowPage method in WikiOverlay
This commit is contained in:
parent
004cd7c834
commit
463774d4f2
|
@ -62,6 +62,12 @@ private void onSuccess(APIWikiPage response)
|
|||
});
|
||||
}
|
||||
|
||||
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