Tidy up unused dependencies

This commit is contained in:
Dean Herbert 2022-04-19 18:00:39 +09:00
parent 17eaa44af1
commit ce70c10afa
1 changed files with 2 additions and 5 deletions

View File

@ -29,11 +29,8 @@ namespace osu.Game.Overlays.FirstRunSetup
{
public class ScreenUIScale : FirstRunSetupScreen
{
[Resolved]
private OsuConfigManager osuConfig { get; set; }
[BackgroundDependencyLoader]
private void load(RulesetStore rulesets, BeatmapManager beatmaps)
private void load(OsuConfigManager config)
{
Content.Children = new Drawable[]
{
@ -46,7 +43,7 @@ private void load(RulesetStore rulesets, BeatmapManager beatmaps)
new SettingsSlider<float, UIScaleSlider>
{
LabelText = GraphicsSettingsStrings.UIScaling,
Current = osuConfig.GetBindable<float>(OsuSetting.UIScale),
Current = config.GetBindable<float>(OsuSetting.UIScale),
KeyboardStep = 0.01f,
},
new InverseScalingDrawSizePreservingFillContainer