1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-04 13:04:23 +08:00

Fix standalone beatmap panels not having the correct height

This commit is contained in:
Bartłomiej Dach
2025-08-29 11:25:15 +02:00
Unverified
parent 107e103825
commit 3cf0a9b9c0
@@ -121,11 +121,12 @@ namespace osu.Game.Screens.SelectV2
{
if (groupItem != null)
groupItem.NestedItemCount++;
item.DrawHeight = PanelBeatmapStandalone.HEIGHT;
}
addItem(new CarouselItem(new GroupedBeatmap(group, beatmap)));
addItem(new CarouselItem(new GroupedBeatmap(group, beatmap))
{
DrawHeight = BeatmapSetsGroupedTogether ? PanelBeatmap.HEIGHT : PanelBeatmapStandalone.HEIGHT,
});
lastBeatmap = beatmap;
displayedBeatmapsCount++;
}