Expose buttons for test cases

This commit is contained in:
smoogipoo
2017-12-18 19:13:08 +09:00
parent 918e7c9a4b
commit a17b2e4c18
3 changed files with 12 additions and 10 deletions

View File

@ -26,7 +26,7 @@ namespace osu.Game.Screens.Play
{
if (!args.Repeat && args.Key == Key.Escape)
{
Buttons.Children.Last().TriggerOnClick();
InternalButtons.Children.Last().TriggerOnClick();
return true;
}