mirror of
https://github.com/osukey/osukey.git
synced 2025-06-16 16:57:56 +09: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;
|
return set;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private const float panel_padding = 5;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Computes the target Y positions for every item in the carousel.
|
/// Computes the target Y positions for every item in the carousel.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -705,7 +707,7 @@ namespace osu.Game.Screens.Select
|
|||||||
// TODO: move this logic to DCBS too.
|
// TODO: move this logic to DCBS too.
|
||||||
// set.MoveToX(set.Item.State.Value == CarouselItemState.Selected ? -100 : 0, 500, Easing.OutExpo);
|
// set.MoveToX(set.Item.State.Value == CarouselItemState.Selected ? -100 : 0, 500, Easing.OutExpo);
|
||||||
// set.MoveToY(currentY, 750, Easing.OutExpo);
|
// set.MoveToY(currentY, 750, Easing.OutExpo);
|
||||||
currentY += set.TotalHeight;
|
currentY += set.TotalHeight + panel_padding;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user