mirror of
https://github.com/ppy/osu
synced 2024-12-17 04:15:37 +00:00
Switch hidden/expanded centre profile header information
This commit is contained in:
parent
bd0704c575
commit
c6992bd6f9
@ -134,8 +134,8 @@ namespace osu.Game.Overlays.Profile.Header
|
|||||||
|
|
||||||
DetailsVisible.BindValueChanged(visible =>
|
DetailsVisible.BindValueChanged(visible =>
|
||||||
{
|
{
|
||||||
hiddenDetailContainer.Alpha = visible.NewValue ? 1 : 0;
|
hiddenDetailContainer.Alpha = visible.NewValue ? 0 : 1;
|
||||||
expandedDetailContainer.Alpha = visible.NewValue ? 0 : 1;
|
expandedDetailContainer.Alpha = visible.NewValue ? 1 : 0;
|
||||||
}, true);
|
}, true);
|
||||||
|
|
||||||
User.BindValueChanged(user => updateDisplay(user.NewValue));
|
User.BindValueChanged(user => updateDisplay(user.NewValue));
|
||||||
|
Loading…
Reference in New Issue
Block a user