mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 03:22:55 +08:00
Add back panel padding
This commit is contained in:
parent
0400b34349
commit
ca1f5dcada
@ -676,6 +676,8 @@ namespace osu.Game.Screens.Select
|
||||
return set;
|
||||
}
|
||||
|
||||
private const float panel_padding = 5;
|
||||
|
||||
/// <summary>
|
||||
/// Computes the target Y positions for every item in the carousel.
|
||||
/// </summary>
|
||||
@ -705,7 +707,7 @@ namespace osu.Game.Screens.Select
|
||||
// TODO: move this logic to DCBS too.
|
||||
// set.MoveToX(set.Item.State.Value == CarouselItemState.Selected ? -100 : 0, 500, Easing.OutExpo);
|
||||
// set.MoveToY(currentY, 750, Easing.OutExpo);
|
||||
currentY += set.TotalHeight;
|
||||
currentY += set.TotalHeight + panel_padding;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user