mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Simplify vertical position calculations by including spacing in height definition
This commit is contained in:
@ -175,7 +175,7 @@ namespace osu.Game.Screens.Select.Carousel
|
||||
foreach (var panel in beatmapContainer.Children)
|
||||
{
|
||||
panel.MoveToY(yPos, 800, Easing.OutQuint);
|
||||
yPos += panel.Item.TotalHeight + DrawableCarouselBeatmap.CAROUSEL_BEATMAP_SPACING;
|
||||
yPos += panel.Item.TotalHeight;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user