1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 00:02:54 +08:00

Revert changes to ModDisplay

This commit is contained in:
smoogipoo 2021-02-02 13:49:58 +09:00
parent 53cfc3bc6e
commit 173e20938c
2 changed files with 1 additions and 7 deletions

View File

@ -139,7 +139,6 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Participants
Scale = new Vector2(0.5f),
ExpansionMode = ExpansionMode.AlwaysContracted,
DisplayUnrankedText = false,
ExpandOnAppear = false
}
},
userStateDisplay = new StateDisplay

View File

@ -26,11 +26,6 @@ namespace osu.Game.Screens.Play.HUD
public ExpansionMode ExpansionMode = ExpansionMode.ExpandOnHover;
/// <summary>
/// Whether the mods should initially appear expanded, before potentially contracting into their final expansion state (depending on <see cref="ExpansionMode"/>).
/// </summary>
public bool ExpandOnAppear = true;
private readonly Bindable<IReadOnlyList<Mod>> current = new Bindable<IReadOnlyList<Mod>>();
public Bindable<IReadOnlyList<Mod>> Current
@ -115,7 +110,7 @@ namespace osu.Game.Screens.Play.HUD
expand();
using (iconsContainer.BeginDelayedSequence(ExpandOnAppear ? 1200 : 0))
using (iconsContainer.BeginDelayedSequence(1200))
contract();
}