Switch hidden/expanded centre profile header information

This commit is contained in:
Joehu 2019-05-02 03:37:15 -07:00
parent bd0704c575
commit c6992bd6f9

View File

@ -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));