1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:52:53 +08:00

Adjust profile ruleset selector to new design

Looks weird with `AlwaysPresent`.
This commit is contained in:
Salman Ahmed 2022-04-29 12:19:47 +03:00
parent 3829d27845
commit 4016fe1e19

View File

@ -23,7 +23,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
isDefault = value; isDefault = value;
icon.FadeTo(isDefault ? 1 : 0, 200, Easing.OutQuint); icon.Alpha = isDefault ? 1 : 0;
} }
} }
@ -47,7 +47,6 @@ namespace osu.Game.Overlays.Profile.Header.Components
Origin = Anchor.Centre, Origin = Anchor.Centre,
Anchor = Anchor.Centre, Anchor = Anchor.Centre,
Alpha = 0, Alpha = 0,
AlwaysPresent = true,
Icon = FontAwesome.Solid.Star, Icon = FontAwesome.Solid.Star,
Size = new Vector2(12), Size = new Vector2(12),
}); });