Use IBindable where possible

This commit is contained in:
Dean Herbert
2018-06-29 20:28:28 +09:00
parent 9fce4eaccf
commit 06bd3d4815
2 changed files with 6 additions and 7 deletions

View File

@ -32,7 +32,7 @@ namespace osu.Game.Screens.Select.Leaderboards
private FillFlowContainer<LeaderboardScore> scrollFlow;
private readonly Bindable<RulesetInfo> ruleset = new Bindable<RulesetInfo>();
private readonly IBindable<RulesetInfo> ruleset = new Bindable<RulesetInfo>();
public Action<Score> ScoreSelected;
@ -192,7 +192,7 @@ namespace osu.Game.Screens.Select.Leaderboards
}
[BackgroundDependencyLoader(permitNulls: true)]
private void load(APIAccess api, Bindable<RulesetInfo> parentRuleset)
private void load(APIAccess api, IBindable<RulesetInfo> parentRuleset)
{
this.api = api;