mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 16:12:57 +08:00
LayoutSettings: inject OsuGameBase instead of OsuGame
This commit is contained in:
parent
5d26d5d4ed
commit
5076fe4c20
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user