Improve room padding

This commit is contained in:
Dean Herbert 2018-12-26 19:14:15 +09:00
parent f442e59620
commit 0cefd4b21d
1 changed files with 3 additions and 6 deletions

View File

@ -47,11 +47,8 @@ public LoungeScreen(Action<Screen> pushGameplayScreen)
{
RelativeSizeAxes = Axes.Both,
Width = 0.55f,
Padding = new MarginPadding
{
Vertical = 35 - DrawableRoom.SELECTION_BORDER_WIDTH,
Right = 20 - DrawableRoom.SELECTION_BORDER_WIDTH
},
ScrollbarOverlapsContent = false,
Padding = new MarginPadding(10),
Child = new SearchContainer
{
RelativeSizeAxes = Axes.X,
@ -140,7 +137,7 @@ public void Open(Room room)
if (!IsCurrentScreen)
return;
Push(new MatchScreen(room, s => pushGameplayScreen?.Invoke(s)));
Push(new MatchScreen(room, s => pushGameplayScreen?.Invoke(s)));
}
protected override void Dispose(bool isDisposing)