Simplify exit logic of screens with textboxes using back button receptor

This commit is contained in:
Joehu
2019-10-01 08:26:34 -07:00
parent 2f877be0c4
commit 5f700f2ae9
13 changed files with 8 additions and 62 deletions

View File

@ -171,11 +171,6 @@ namespace osu.Game.Screens.Select
Height = FilterControl.HEIGHT,
FilterChanged = c => Carousel.Filter(c),
Background = { Width = 2 },
Exit = () =>
{
if (this.IsCurrentScreen())
this.Exit();
},
},
}
},