mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 08:32:57 +08:00
Fix more issues discovered by CI that can be fixed game-side
This commit is contained in:
parent
d7ae430ec2
commit
f8d2f2f7e1
@ -184,7 +184,7 @@ namespace osu.Game.Rulesets.Osu.Tests.Editor
|
||||
{
|
||||
MenuItem item = visualiser.ContextMenuItems.FirstOrDefault(menuItem => menuItem.Text.Value == "Curve type")?.Items.FirstOrDefault(menuItem => menuItem.Text.Value == contextMenuText);
|
||||
|
||||
item?.Action?.Value();
|
||||
item?.Action.Value?.Invoke();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -82,7 +82,7 @@ namespace osu.Game.Tests.Visual.Navigation
|
||||
|
||||
private OsuButton configureBindingsButton => Game.Settings
|
||||
.ChildrenOfType<BindingSettings>().SingleOrDefault()?
|
||||
.ChildrenOfType<OsuButton>()?
|
||||
.ChildrenOfType<OsuButton>()
|
||||
.First(b => b.Text.ToString() == "Configure");
|
||||
|
||||
private KeyBindingPanel keyBindingPanel => Game.Settings
|
||||
|
Loading…
Reference in New Issue
Block a user