From 4f036f7668f6ae8707d9b949c5962814a0a8b20f Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Wed, 22 Jan 2025 21:13:11 +0900 Subject: [PATCH] Remove unused `IsHeader` flag --- osu.Game/Screens/SelectV2/BeatmapCarouselFilterGrouping.cs | 1 - osu.Game/Screens/SelectV2/CarouselItem.cs | 6 ------ 2 files changed, 7 deletions(-) diff --git a/osu.Game/Screens/SelectV2/BeatmapCarouselFilterGrouping.cs b/osu.Game/Screens/SelectV2/BeatmapCarouselFilterGrouping.cs index 1f76e44d3580..6b7963a6e15c 100644 --- a/osu.Game/Screens/SelectV2/BeatmapCarouselFilterGrouping.cs +++ b/osu.Game/Screens/SelectV2/BeatmapCarouselFilterGrouping.cs @@ -52,7 +52,6 @@ public async Task> Run(IEnumerable items { newItems.Add(new CarouselItem(b.BeatmapSet!) { - IsHeader = true, DrawHeight = 80, IsGroupSelectionTarget = true }); diff --git a/osu.Game/Screens/SelectV2/CarouselItem.cs b/osu.Game/Screens/SelectV2/CarouselItem.cs index f28a42aca43b..2cb96a3d7fa1 100644 --- a/osu.Game/Screens/SelectV2/CarouselItem.cs +++ b/osu.Game/Screens/SelectV2/CarouselItem.cs @@ -29,12 +29,6 @@ public sealed class CarouselItem : IComparable /// public float DrawHeight { get; set; } = DEFAULT_HEIGHT; - /// - /// Whether this item is a group header. - /// Group headers are generally larger in display. Setting this will account for the size difference. - /// - public bool IsHeader { get; set; } - /// /// Whether this item should be a valid target for user group selection hotkeys. ///