1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-16 23:43:27 +08:00

Switch hidden/expanded centre profile header information

This commit is contained in:
Joehu
2019-05-02 03:37:15 -07:00
Unverified
parent bd0704c575
commit c6992bd6f9
@@ -134,8 +134,8 @@ namespace osu.Game.Overlays.Profile.Header
DetailsVisible.BindValueChanged(visible =>
{
hiddenDetailContainer.Alpha = visible.NewValue ? 1 : 0;
expandedDetailContainer.Alpha = visible.NewValue ? 0 : 1;
hiddenDetailContainer.Alpha = visible.NewValue ? 0 : 1;
expandedDetailContainer.Alpha = visible.NewValue ? 1 : 0;
}, true);
User.BindValueChanged(user => updateDisplay(user.NewValue));