1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 03:27:24 +08:00

Tidy up unused dependencies

This commit is contained in:
Dean Herbert 2022-04-19 18:00:39 +09:00
parent 17eaa44af1
commit ce70c10afa

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 @@ namespace osu.Game.Overlays.FirstRunSetup
new SettingsSlider<float, UIScaleSlider>
{
LabelText = GraphicsSettingsStrings.UIScaling,
Current = osuConfig.GetBindable<float>(OsuSetting.UIScale),
Current = config.GetBindable<float>(OsuSetting.UIScale),
KeyboardStep = 0.01f,
},
new InverseScalingDrawSizePreservingFillContainer