Use [Resolved] wherever possible

This commit is contained in:
recapitalverb
2020-02-14 20:14:00 +07:00
parent 6d87d22a84
commit c753cb46c5
35 changed files with 128 additions and 169 deletions

View File

@ -25,15 +25,14 @@ namespace osu.Game.Screens.Edit.Components
{
private IconButton playButton;
private IAdjustableClock adjustableClock;
[Resolved]
private IAdjustableClock adjustableClock { get; set; }
private readonly BindableNumber<double> tempo = new BindableDouble(1);
[BackgroundDependencyLoader]
private void load(IAdjustableClock adjustableClock)
private void load()
{
this.adjustableClock = adjustableClock;
Children = new Drawable[]
{
playButton = new IconButton