mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Allow null for breadcrumb control
This commit is contained in:
@ -35,7 +35,7 @@ namespace osu.Game.Overlays.Wiki
|
||||
return;
|
||||
|
||||
TabControl.Clear();
|
||||
Current.Value = string.Empty;
|
||||
Current.Value = null;
|
||||
|
||||
TabControl.AddItem(index_page_string);
|
||||
|
||||
@ -52,7 +52,7 @@ namespace osu.Game.Overlays.Wiki
|
||||
Current.Value = e.NewValue.Title;
|
||||
}
|
||||
|
||||
private void onCurrentChange(ValueChangedEvent<LocalisableString> e)
|
||||
private void onCurrentChange(ValueChangedEvent<LocalisableString?> e)
|
||||
{
|
||||
if (e.NewValue == TabControl.Items.LastOrDefault())
|
||||
return;
|
||||
|
Reference in New Issue
Block a user