mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Fix broken BreadcrumbControl
This commit is contained in:
@ -34,8 +34,8 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
var tIndex = TabContainer.IndexOf(t);
|
var tIndex = TabContainer.IndexOf(t);
|
||||||
var tabIndex = TabContainer.IndexOf(TabMap[index.NewValue]);
|
var tabIndex = TabContainer.IndexOf(TabMap[index.NewValue]);
|
||||||
|
|
||||||
t.State = tIndex < tabIndex ? Visibility.Hidden : Visibility.Visible;
|
t.State = tIndex > tabIndex ? Visibility.Hidden : Visibility.Visible;
|
||||||
t.Chevron.FadeTo(tIndex <= tabIndex ? 0f : 1f, 500, Easing.OutQuint);
|
t.Chevron.FadeTo(tIndex >= tabIndex ? 0f : 1f, 500, Easing.OutQuint);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user