mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:37:28 +08:00
Merge pull request #18443 from frenzibyte/fix-beatmap-badge-colouring
Fix beatmap badge colours not updated inline with recent changes
This commit is contained in:
commit
3aa7e3141e
@ -197,10 +197,10 @@ namespace osu.Game.Graphics
|
||||
switch (roomCategory)
|
||||
{
|
||||
case RoomCategory.Spotlight:
|
||||
return Green2;
|
||||
return SpotlightColour;
|
||||
|
||||
case RoomCategory.FeaturedArtist:
|
||||
return Blue2;
|
||||
return FeaturedArtistColour;
|
||||
|
||||
default:
|
||||
return null;
|
||||
@ -379,5 +379,8 @@ namespace osu.Game.Graphics
|
||||
public readonly Color4 ChatBlue = Color4Extensions.FromHex(@"17292e");
|
||||
|
||||
public readonly Color4 ContextMenuGray = Color4Extensions.FromHex(@"223034");
|
||||
|
||||
public Color4 SpotlightColour => Green2;
|
||||
public Color4 FeaturedArtistColour => Blue2;
|
||||
}
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
private void load(OsuColour colours)
|
||||
{
|
||||
BadgeText = BeatmapsetsStrings.FeaturedArtistBadgeLabel;
|
||||
BadgeColour = colours.Blue1;
|
||||
BadgeColour = colours.FeaturedArtistColour;
|
||||
// todo: add linking support to allow redirecting featured artist badge to corresponding track.
|
||||
}
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
private void load(OsuColour colours)
|
||||
{
|
||||
BadgeText = BeatmapsetsStrings.SpotlightBadgeLabel;
|
||||
BadgeColour = colours.Pink1;
|
||||
BadgeColour = colours.SpotlightColour;
|
||||
// todo: add linking support to allow redirecting spotlight badge to https://osu.ppy.sh/wiki/en/Beatmap_Spotlights.
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user