mirror of
https://github.com/ppy/osu.git
synced 2025-02-16 05:52:55 +08:00
Center direct panel covers
This commit is contained in:
parent
95cfce2950
commit
94b3320e58
@ -39,6 +39,8 @@ namespace osu.Game.Overlays.Direct
|
|||||||
{
|
{
|
||||||
return new AsyncLoadWrapper(new BeatmapSetBackgroundSprite(SetInfo)
|
return new AsyncLoadWrapper(new BeatmapSetBackgroundSprite(SetInfo)
|
||||||
{
|
{
|
||||||
|
Anchor = Anchor.Centre,
|
||||||
|
Origin = Anchor.Centre,
|
||||||
FillMode = FillMode.Fill,
|
FillMode = FillMode.Fill,
|
||||||
OnLoadComplete = d => d.FadeInFromZero(400, EasingTypes.Out),
|
OnLoadComplete = d => d.FadeInFromZero(400, EasingTypes.Out),
|
||||||
}) { RelativeSizeAxes = Axes.Both };
|
}) { RelativeSizeAxes = Axes.Both };
|
||||||
|
Loading…
Reference in New Issue
Block a user