mirror of
https://github.com/ppy/osu.git
synced 2025-01-30 00:03:08 +08:00
Avoid list width changing when spectator count changes
This commit is contained in:
parent
56dfe4a231
commit
996798d2df
@ -41,7 +41,7 @@ namespace osu.Game.Screens.Play.HUD
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuColour colours)
|
||||
{
|
||||
AutoSizeAxes = Axes.Both;
|
||||
AutoSizeAxes = Axes.Y;
|
||||
|
||||
InternalChildren = new Drawable[]
|
||||
{
|
||||
@ -153,6 +153,8 @@ namespace osu.Game.Screens.Play.HUD
|
||||
{
|
||||
Header.Font = OsuFont.GetFont(Font.Value, 12, FontWeight.Bold);
|
||||
Header.Colour = HeaderColour.Value;
|
||||
|
||||
Width = Header.DrawWidth;
|
||||
}
|
||||
|
||||
private partial class SpectatorListEntry : PoolableDrawable
|
||||
|
Loading…
Reference in New Issue
Block a user