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