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

@ -52,7 +52,7 @@ namespace osu.Game.Overlays.Profile.Sections.Beatmaps
if (!s.OnlineBeatmapSetID.HasValue)
continue;
var panel = new DirectGridPanel(s.ToBeatmapSet(Rulesets)) { Width = 400 };
var panel = new DirectGridPanel(s.ToBeatmapSet(Rulesets));
ItemsContainer.Add(panel);
panel.PreviewPlaying.ValueChanged += isPlaying =>