1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 12:37:30 +08:00

Fix back-to-front ordering of elements on PanelBeatmap

This commit is contained in:
Dean Herbert
2025-05-30 12:31:03 +09:00
Unverified
parent b1a11061f4
commit afd0f39cc2
+28 -28
View File
@@ -126,33 +126,6 @@ namespace osu.Game.Screens.SelectV2
AutoSizeAxes = Axes.Both,
Children = new Drawable[]
{
new FillFlowContainer
{
Direction = FillDirection.Horizontal,
Spacing = new Vector2(3, 0),
AutoSizeAxes = Axes.Both,
Children = new Drawable[]
{
localRank = new PanelLocalRankDisplay
{
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,
Scale = new Vector2(0.65f)
},
starRatingDisplay = new StarRatingDisplay(default, StarRatingDisplaySize.Small, animated: true)
{
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,
Scale = new Vector2(0.875f),
},
starCounter = new StarCounter
{
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,
Scale = new Vector2(0.4f)
}
}
},
new FillFlowContainer
{
Direction = FillDirection.Horizontal,
@@ -181,7 +154,34 @@ namespace osu.Game.Screens.SelectV2
Origin = Anchor.BottomLeft
}
}
}
},
new FillFlowContainer
{
Direction = FillDirection.Horizontal,
Spacing = new Vector2(3, 0),
AutoSizeAxes = Axes.Both,
Children = new Drawable[]
{
localRank = new PanelLocalRankDisplay
{
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,
Scale = new Vector2(0.65f)
},
starRatingDisplay = new StarRatingDisplay(default, StarRatingDisplaySize.Small, animated: true)
{
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,
Scale = new Vector2(0.875f),
},
starCounter = new StarCounter
{
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,
Scale = new Vector2(0.4f)
}
}
},
}
},
};