1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:33:30 +08:00

Resolve existing colour provider instead of re-caching own one

This commit is contained in:
Bartłomiej Dach 2024-09-08 16:29:53 +02:00
parent 2e6f17f253
commit f5c5614eef
No known key found for this signature in database

View File

@ -32,11 +32,8 @@ namespace osu.Game.Screens.Edit.Timing
[Resolved]
private Bindable<ControlPointGroup?> selectedGroup { get; set; } = null!;
[Cached]
private OverlayColourProvider overlayColourProvider = new OverlayColourProvider(OverlayColourScheme.Aquamarine);
[BackgroundDependencyLoader]
private void load(OsuColour colours)
private void load(OsuColour colours, OverlayColourProvider colourProvider)
{
RelativeSizeAxes = Axes.Both;