1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 14:17:26 +08:00

Fix undesirable vertical spacing in currently playing display

This commit is contained in:
Bartłomiej Dach 2020-11-03 19:12:03 +01:00
parent 86d283ebf4
commit 211510fe9a

View File

@ -112,15 +112,15 @@ namespace osu.Game.Overlays.Dashboard
new UserGridPanel(user) new UserGridPanel(user)
{ {
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
Anchor = Anchor.Centre, Anchor = Anchor.TopCentre,
Origin = Anchor.Centre, Origin = Anchor.TopCentre,
}, },
new PurpleTriangleButton new PurpleTriangleButton
{ {
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
Text = "Watch", Text = "Watch",
Anchor = Anchor.Centre, Anchor = Anchor.TopCentre,
Origin = Anchor.Centre, Origin = Anchor.TopCentre,
Action = () => game?.PerformFromScreen(s => s.Push(new Spectator(user))) Action = () => game?.PerformFromScreen(s => s.Push(new Spectator(user)))
} }
} }