mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
add new test case and fix rotation not working
This commit is contained in:
@ -31,8 +31,6 @@ namespace osu.Game.Overlays.Profile.Header
|
||||
{
|
||||
Child = new Container
|
||||
{
|
||||
Anchor = Anchor.BottomLeft,
|
||||
Origin = Anchor.BottomLeft,
|
||||
Masking = true,
|
||||
CornerRadius = 4,
|
||||
AutoSizeAxes = Axes.Both,
|
||||
@ -68,8 +66,6 @@ namespace osu.Game.Overlays.Profile.Header
|
||||
AutoSizeAxes = Axes.Both,
|
||||
Child = badgeFlowContainer = new FillFlowContainer
|
||||
{
|
||||
Anchor = Anchor.TopCentre,
|
||||
Origin = Anchor.TopCentre,
|
||||
Direction = FillDirection.Horizontal,
|
||||
AutoSizeAxes = Axes.Both,
|
||||
}
|
||||
@ -114,6 +110,7 @@ namespace osu.Game.Overlays.Profile.Header
|
||||
badgeCount = badges.Length;
|
||||
visibleBadge = 0;
|
||||
|
||||
badgeFlowContainer.Clear();
|
||||
foreach (var badge in badges)
|
||||
{
|
||||
LoadComponentAsync(new DrawableBadge(badge)
|
||||
|
Reference in New Issue
Block a user