1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 20:07:25 +08:00

Fix settings colour scheme wrong when viewing gameplay from skin editor button

Closes https://github.com/ppy/osu/issues/27949.
This commit is contained in:
Dean Herbert 2024-04-23 20:54:44 +08:00
parent 12acdeebf1
commit 804b1b0d88
No known key found for this signature in database

View File

@ -101,6 +101,11 @@ namespace osu.Game.Screens.Play
/// </summary>
public IBindable<bool> ShowingOverlayComponents = new Bindable<bool>();
// Should match PlayerLoader for consistency. Cached here for the rare case we push a Player
// without the loading screen (one such usage is the skin editor's scene library).
[Cached]
private OverlayColourProvider colourProvider = new OverlayColourProvider(OverlayColourScheme.Purple);
[Resolved]
private ScoreManager scoreManager { get; set; }