mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Replace Pill
with Badge
everywhere
This commit is contained in:
17
osu.Game/Overlays/BeatmapSet/ExplicitContentBeatmapBadge.cs
Normal file
17
osu.Game/Overlays/BeatmapSet/ExplicitContentBeatmapBadge.cs
Normal file
@ -0,0 +1,17 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Localisation;
|
||||
using osu.Game.Resources.Localisation.Web;
|
||||
|
||||
#nullable enable
|
||||
|
||||
namespace osu.Game.Overlays.BeatmapSet
|
||||
{
|
||||
public class ExplicitContentBeatmapBadge : BeatmapBadge
|
||||
{
|
||||
public override LocalisableString BadgeText => BeatmapsetsStrings.NsfwBadgeLabel;
|
||||
public override Colour4 BadgeColour => Colours.Orange2;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user