mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 15:33:05 +08:00
Fix broken WikiHeader
This commit is contained in:
parent
5b694ad28b
commit
22ff40fdd5
@ -5,6 +5,7 @@ using System;
|
||||
using System.Linq;
|
||||
using osu.Framework.Bindables;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Localisation;
|
||||
using osu.Game.Online.API.Requests.Responses;
|
||||
|
||||
namespace osu.Game.Overlays.Wiki
|
||||
@ -34,7 +35,7 @@ namespace osu.Game.Overlays.Wiki
|
||||
return;
|
||||
|
||||
TabControl.Clear();
|
||||
Current.Value = null;
|
||||
Current.Value = string.Empty;
|
||||
|
||||
TabControl.AddItem(index_page_string);
|
||||
|
||||
@ -51,7 +52,7 @@ namespace osu.Game.Overlays.Wiki
|
||||
Current.Value = e.NewValue.Title;
|
||||
}
|
||||
|
||||
private void onCurrentChange(ValueChangedEvent<string> e)
|
||||
private void onCurrentChange(ValueChangedEvent<LocalisableString> e)
|
||||
{
|
||||
if (e.NewValue == TabControl.Items.LastOrDefault())
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user