Fix crash when changing tabs in changelog

This commit is contained in:
smoogipoo 2020-07-03 16:47:14 +09:00
parent 254b8b926c
commit cb69d1a865
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,8 @@ public BreadcrumbControl()
{ {
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>())