mirror of
https://github.com/ppy/osu.git
synced 2025-03-12 10:27:20 +08:00
Fix beatmap badge colours not updated inline with recent changes
This commit is contained in:
parent
5eb16ff46c
commit
06832a4baf
@ -197,10 +197,10 @@ namespace osu.Game.Graphics
|
|||||||
switch (roomCategory)
|
switch (roomCategory)
|
||||||
{
|
{
|
||||||
case RoomCategory.Spotlight:
|
case RoomCategory.Spotlight:
|
||||||
return Green2;
|
return SpotlightColour;
|
||||||
|
|
||||||
case RoomCategory.FeaturedArtist:
|
case RoomCategory.FeaturedArtist:
|
||||||
return Blue2;
|
return FeaturedArtistColour;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return null;
|
return null;
|
||||||
@ -379,5 +379,8 @@ namespace osu.Game.Graphics
|
|||||||
public readonly Color4 ChatBlue = Color4Extensions.FromHex(@"17292e");
|
public readonly Color4 ChatBlue = Color4Extensions.FromHex(@"17292e");
|
||||||
|
|
||||||
public readonly Color4 ContextMenuGray = Color4Extensions.FromHex(@"223034");
|
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)
|
private void load(OsuColour colours)
|
||||||
{
|
{
|
||||||
BadgeText = BeatmapsetsStrings.FeaturedArtistBadgeLabel;
|
BadgeText = BeatmapsetsStrings.FeaturedArtistBadgeLabel;
|
||||||
BadgeColour = colours.Blue1;
|
BadgeColour = colours.FeaturedArtistColour;
|
||||||
// todo: add linking support to allow redirecting featured artist badge to corresponding track.
|
// 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)
|
private void load(OsuColour colours)
|
||||||
{
|
{
|
||||||
BadgeText = BeatmapsetsStrings.SpotlightBadgeLabel;
|
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.
|
// todo: add linking support to allow redirecting spotlight badge to https://osu.ppy.sh/wiki/en/Beatmap_Spotlights.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user