mirror of
https://github.com/ppy/osu
synced 2025-01-20 21:10:49 +00:00
Resolve linting issues in ToolbarModeSelector.cs
This commit is contained in:
parent
76800421c4
commit
26f06a9ae1
@ -89,8 +89,8 @@ namespace osu.Game.Overlays.Toolbar
|
||||
|
||||
private class RulesetSwitcherInputHandler : Container, IKeyBindingHandler<int>
|
||||
{
|
||||
private Bindable<RulesetInfo> ruleset;
|
||||
private RulesetStore rulesets;
|
||||
private readonly Bindable<RulesetInfo> ruleset;
|
||||
private readonly RulesetStore rulesets;
|
||||
|
||||
public RulesetSwitcherInputHandler(Bindable<RulesetInfo> ruleset, RulesetStore rulesets)
|
||||
{
|
||||
@ -111,7 +111,7 @@ namespace osu.Game.Overlays.Toolbar
|
||||
[BackgroundDependencyLoader(true)]
|
||||
private void load(RulesetStore rulesets, OsuGame game)
|
||||
{
|
||||
this.rulesetCount = rulesets.AvailableRulesets.Count();
|
||||
rulesetCount = rulesets.AvailableRulesets.Count();
|
||||
foreach (var r in rulesets.AvailableRulesets)
|
||||
{
|
||||
modeButtons.Add(new ToolbarModeButton
|
||||
|
Loading…
Reference in New Issue
Block a user