Fix incorrect DI reference and update naming of SettingsOverlay classes

This commit is contained in:
Dean Herbert
2019-05-14 10:45:05 +09:00
parent 4b508915f6
commit 7553e2da25
16 changed files with 301 additions and 301 deletions

View File

@ -9,17 +9,17 @@ namespace osu.Game.Tests.Visual.Settings
[TestFixture]
public class TestCaseKeyConfiguration : OsuTestCase
{
private readonly KeyBindingOverlay overlay;
private readonly KeyBindingPanel panel;
public TestCaseKeyConfiguration()
{
Child = overlay = new KeyBindingOverlay();
Child = panel = new KeyBindingPanel();
}
protected override void LoadComplete()
{
base.LoadComplete();
overlay.Show();
panel.Show();
}
}
}

View File

@ -11,12 +11,12 @@ namespace osu.Game.Tests.Visual.Settings
[TestFixture]
public class TestCaseSettings : OsuTestCase
{
private readonly SettingsOverlay settings;
private readonly SettingsPanel settings;
private readonly DialogOverlay dialogOverlay;
public TestCaseSettings()
{
settings = new MainSettings
settings = new SettingsOverlay
{
State = Visibility.Visible
};