mirror of
https://github.com/ppy/osu.git
synced 2025-01-31 15:12:54 +08:00
Fix multiple difficulties being expanded at once
This commit is contained in:
parent
5c2f134665
commit
5c29aa8cce
@ -172,7 +172,7 @@ namespace osu.Game.Screens.Select.Carousel
|
|||||||
{
|
{
|
||||||
base.Selected();
|
base.Selected();
|
||||||
|
|
||||||
BorderContainer.MoveToX(Item.State.Value == CarouselItemState.Selected ? -50 : 0, 500, Easing.OutExpo);
|
BorderContainer.MoveToX(-50, 500, Easing.OutExpo);
|
||||||
|
|
||||||
background.Colour = ColourInfo.GradientVertical(
|
background.Colour = ColourInfo.GradientVertical(
|
||||||
new Color4(20, 43, 51, 255),
|
new Color4(20, 43, 51, 255),
|
||||||
@ -185,6 +185,8 @@ namespace osu.Game.Screens.Select.Carousel
|
|||||||
{
|
{
|
||||||
base.Deselected();
|
base.Deselected();
|
||||||
|
|
||||||
|
BorderContainer.MoveToX(0, 500, Easing.OutExpo);
|
||||||
|
|
||||||
background.Colour = new Color4(20, 43, 51, 255);
|
background.Colour = new Color4(20, 43, 51, 255);
|
||||||
triangles.Colour = OsuColour.Gray(0.5f);
|
triangles.Colour = OsuColour.Gray(0.5f);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user