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

LayoutSettings: inject OsuGameBase instead of OsuGame

This commit is contained in:
Roman Kapustin 2018-06-23 12:45:13 +03:00
parent 5d26d5d4ed
commit 5076fe4c20

View File

@ -22,7 +22,7 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
private Bindable<Size> sizeFullscreen;
private readonly BindableInt resolutionDropdownBindable = new BindableInt();
private OsuGame game;
private OsuGameBase game;
private SettingsDropdown<int> resolutionDropdown;
private SettingsEnumDropdown<WindowMode> windowModeDropdown;
@ -30,7 +30,7 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
private const int transition_duration = 400;
[BackgroundDependencyLoader]
private void load(FrameworkConfigManager config, OsuGame game)
private void load(FrameworkConfigManager config, OsuGameBase game)
{
this.game = game;