Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unused IsHeader flag
Browse files Browse the repository at this point in the history
peppy committed Jan 22, 2025

Verified

This commit was signed with the committer’s verified signature.
peppy Dean Herbert
1 parent 222401b commit da2dc45
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion osu.Game/Screens/SelectV2/BeatmapCarouselFilterGrouping.cs
Original file line number Diff line number Diff line change
@@ -52,7 +52,6 @@ public async Task<IEnumerable<CarouselItem>> Run(IEnumerable<CarouselItem> items
{
newItems.Add(new CarouselItem(b.BeatmapSet!)
{
IsHeader = true,
DrawHeight = 80,
IsGroupSelectionTarget = true
});
6 changes: 0 additions & 6 deletions osu.Game/Screens/SelectV2/CarouselItem.cs
Original file line number Diff line number Diff line change
@@ -29,12 +29,6 @@ public sealed class CarouselItem : IComparable<CarouselItem>
/// </summary>
public float DrawHeight { get; set; } = DEFAULT_HEIGHT;

/// <summary>
/// Whether this item is a group header.
/// Group headers are generally larger in display. Setting this will account for the size difference.
/// </summary>
public bool IsHeader { get; set; }

/// <summary>
/// Whether this item should be a valid target for user group selection hotkeys.
/// </summary>

0 comments on commit da2dc45

Please sign in to comment.