Less verbose DrawableFlag constructor.

This commit is contained in:
Nabile Rahmani
2017-07-24 09:25:49 +02:00
parent 65c26f9b24
commit c80f5c708a
5 changed files with 6 additions and 6 deletions

View File

@ -102,7 +102,7 @@ namespace osu.Game.Users
Spacing = new Vector2(5f, 0f),
Children = new Drawable[]
{
new DrawableFlag(user.Country?.FlagName ?? @"__")
new DrawableFlag(user.Country?.FlagName)
{
Width = 30f,
RelativeSizeAxes = Axes.Y,