1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 12:17:46 +08:00

add ShowPage method in WikiOverlay

This commit is contained in:
Gagah Pangeran Rosfatiputra 2021-05-19 19:12:16 +07:00
parent 004cd7c834
commit 463774d4f2
No known key found for this signature in database
GPG Key ID: 25F6F17FD29031E2

View File

@ -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()