Add back remaining attempt display on playlist room screen

This commit is contained in:
Dean Herbert 2021-10-26 16:36:54 +09:00
parent 6a6d3a5e8a
commit 708d40931b
1 changed files with 17 additions and 0 deletions

View File

@ -153,6 +153,22 @@ protected override void LoadComplete()
},
},
new Drawable[]
{
new FillFlowContainer
{
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y,
Alpha = Room.MaxAttempts.Value != null ? 1 : 0,
Margin = new MarginPadding { Bottom = 10 },
Direction = FillDirection.Vertical,
Children = new Drawable[]
{
new OverlinedHeader("Progress"),
new RoomLocalUserInfo(),
}
},
},
new Drawable[]
{
new OverlinedHeader("Leaderboard")
},
@ -162,6 +178,7 @@ protected override void LoadComplete()
},
RowDimensions = new[]
{
new Dimension(GridSizeMode.AutoSize),
new Dimension(GridSizeMode.AutoSize),
new Dimension(GridSizeMode.AutoSize),
new Dimension(),