mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 01:52:55 +08:00
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 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user