Centralise fullscreen overlay logic

This commit is contained in:
Dean Herbert
2019-05-14 14:18:06 +09:00
parent ebfcc8b3ec
commit cb2b14e501
6 changed files with 70 additions and 82 deletions

View File

@ -11,7 +11,7 @@ using osu.Game.Graphics.Containers;
namespace osu.Game.Overlays.SearchableList
{
public abstract class SearchableListOverlay : WaveOverlayContainer
public abstract class SearchableListOverlay : FullscreenOverlay
{
public static readonly float WIDTH_PADDING = 80;
}
@ -32,8 +32,6 @@ namespace osu.Game.Overlays.SearchableList
protected SearchableListOverlay()
{
RelativeSizeAxes = Axes.Both;
Children = new Drawable[]
{
new Box