mirror of https://github.com/ppy/osu
Fix crash when changing tabs in changelog
This commit is contained in:
parent
254b8b926c
commit
cb69d1a865
|
@ -27,6 +27,8 @@ public BreadcrumbControl()
|
|||
{
|
||||
Height = 32;
|
||||
TabContainer.Spacing = new Vector2(padding, 0f);
|
||||
SwitchTabOnRemove = false;
|
||||
|
||||
Current.ValueChanged += index =>
|
||||
{
|
||||
foreach (var t in TabContainer.Children.OfType<BreadcrumbTabItem>())
|
||||
|
|
Loading…
Reference in New Issue