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

Fix more issues discovered by CI that can be fixed game-side

This commit is contained in:
Bartłomiej Dach 2023-06-24 19:04:05 +02:00
parent d7ae430ec2
commit f8d2f2f7e1
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -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); 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();
}); });
} }
} }

View File

@ -82,7 +82,7 @@ namespace osu.Game.Tests.Visual.Navigation
private OsuButton configureBindingsButton => Game.Settings private OsuButton configureBindingsButton => Game.Settings
.ChildrenOfType<BindingSettings>().SingleOrDefault()? .ChildrenOfType<BindingSettings>().SingleOrDefault()?
.ChildrenOfType<OsuButton>()? .ChildrenOfType<OsuButton>()
.First(b => b.Text.ToString() == "Configure"); .First(b => b.Text.ToString() == "Configure");
private KeyBindingPanel keyBindingPanel => Game.Settings private KeyBindingPanel keyBindingPanel => Game.Settings