1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-19 03:42:55 +08:00

Fix multiple difficulties being expanded at once

This commit is contained in:
Dean Herbert 2020-10-12 18:19:20 +09:00
parent 5c2f134665
commit 5c29aa8cce

View File

@ -172,7 +172,7 @@ namespace osu.Game.Screens.Select.Carousel
{
base.Selected();
BorderContainer.MoveToX(Item.State.Value == CarouselItemState.Selected ? -50 : 0, 500, Easing.OutExpo);
BorderContainer.MoveToX(-50, 500, Easing.OutExpo);
background.Colour = ColourInfo.GradientVertical(
new Color4(20, 43, 51, 255),
@ -185,6 +185,8 @@ namespace osu.Game.Screens.Select.Carousel
{
base.Deselected();
BorderContainer.MoveToX(0, 500, Easing.OutExpo);
background.Colour = new Color4(20, 43, 51, 255);
triangles.Colour = OsuColour.Gray(0.5f);
}