mirror of https://github.com/ppy/osu
Tidy up unused dependencies
This commit is contained in:
parent
17eaa44af1
commit
ce70c10afa
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue