mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 07:02:54 +08:00
Fix crash when changing tabs in changelog
This commit is contained in:
parent
254b8b926c
commit
cb69d1a865
@ -27,6 +27,8 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
{
|
{
|
||||||
Height = 32;
|
Height = 32;
|
||||||
TabContainer.Spacing = new Vector2(padding, 0f);
|
TabContainer.Spacing = new Vector2(padding, 0f);
|
||||||
|
SwitchTabOnRemove = false;
|
||||||
|
|
||||||
Current.ValueChanged += index =>
|
Current.ValueChanged += index =>
|
||||||
{
|
{
|
||||||
foreach (var t in TabContainer.Children.OfType<BreadcrumbTabItem>())
|
foreach (var t in TabContainer.Children.OfType<BreadcrumbTabItem>())
|
||||||
|
Loading…
Reference in New Issue
Block a user