Move common width definition to base class

This commit is contained in:
Dean Herbert
2017-11-14 19:03:50 +09:00
parent f96f7e696d
commit 44671ad9cb
3 changed files with 3 additions and 2 deletions

View File

@ -29,6 +29,7 @@ namespace osu.Game.Overlays.Direct
public DirectGridPanel(BeatmapSetInfo beatmap) : base(beatmap)
{
Width = 400;
Height = 140 + vertical_padding; //full height of all the elements plus vertical padding (autosize uses the image)
}