mirror of https://github.com/ppy/osu
Merge pull request #27973 from peppy/fix-overlay-colour
Fix settings colour scheme wrong when viewing gameplay from skin editor button
This commit is contained in:
commit
777081e941
|
@ -101,6 +101,11 @@ public abstract partial class Player : ScreenWithBeatmapBackground, ISamplePlayb
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public IBindable<bool> ShowingOverlayComponents = new Bindable<bool>();
|
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]
|
[Resolved]
|
||||||
private ScoreManager scoreManager { get; set; }
|
private ScoreManager scoreManager { get; set; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue