From 3302e2e180778bb52c51ef81d109f097d4845152 Mon Sep 17 00:00:00 2001
From: De4n <55669793+tadatomix@users.noreply.github.com>
Date: Thu, 15 Jan 2026 10:00:27 +0300
Subject: [PATCH] Use new star rating text gradient for the difficulty name,
"mapped by" text and difficulty bars (#36345)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Fixes: #36312
I think that's exactly what needed to be done to fix this issue.
|master|this PR|
|:---:|:---:|
|
|
|
|
|
|
|
|
|
|
---------
Co-authored-by: Dean Herbert
---
.../Screens/SelectV2/BeatmapTitleWedge.DifficultyDisplay.cs | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/osu.Game/Screens/SelectV2/BeatmapTitleWedge.DifficultyDisplay.cs b/osu.Game/Screens/SelectV2/BeatmapTitleWedge.DifficultyDisplay.cs
index 55ed488d87..65e55ff277 100644
--- a/osu.Game/Screens/SelectV2/BeatmapTitleWedge.DifficultyDisplay.cs
+++ b/osu.Game/Screens/SelectV2/BeatmapTitleWedge.DifficultyDisplay.cs
@@ -48,9 +48,6 @@ namespace osu.Game.Screens.SelectV2
[Resolved]
private BeatmapDifficultyCache difficultyCache { get; set; } = null!;
- [Resolved]
- private OsuColour colours { get; set; } = null!;
-
private StarRatingDisplay starRatingDisplay = null!;
private FillFlowContainer nameLine = null!;
private OsuSpriteText difficultyText = null!;
@@ -304,7 +301,7 @@ namespace osu.Game.Screens.SelectV2
difficultyText.MaxWidth = Math.Max(nameLine.DrawWidth - mappedByText.DrawWidth - mapperText.DrawWidth - 20, 0);
// Use difficulty colour until it gets too dark to be visible against dark backgrounds.
- Color4 col = starRatingDisplay.DisplayedStars.Value >= OsuColour.STAR_DIFFICULTY_DEFINED_COLOUR_CUTOFF ? colours.Orange1 : starRatingDisplay.DisplayedDifficultyColour;
+ Color4 col = starRatingDisplay.DisplayedStars.Value >= OsuColour.STAR_DIFFICULTY_DEFINED_COLOUR_CUTOFF ? starRatingDisplay.DisplayedDifficultyTextColour : starRatingDisplay.DisplayedDifficultyColour;
difficultyText.Colour = col;
mappedByText.Colour = col;