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:
parent
53cfc3bc6e
commit
173e20938c
@ -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
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user