Improve room padding

This commit is contained in:
Dean Herbert 2018-12-26 19:14:15 +09:00
parent f442e59620
commit 0cefd4b21d

View File

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