Fix background overflows

This commit is contained in:
smoogipoo
2021-08-20 17:50:49 +09:00
parent 3d96da84e6
commit 258ba4674c
3 changed files with 34 additions and 10 deletions

View File

@ -10,10 +10,12 @@ namespace osu.Game.Screens
{
public class BackgroundScreenStack : ScreenStack
{
public const float BACKGROUND_SCALE = 1.06f;
public BackgroundScreenStack()
: base(false)
{
Scale = new Vector2(1.06f);
Scale = new Vector2(BACKGROUND_SCALE);
RelativeSizeAxes = Axes.Both;
Anchor = Anchor.Centre;
Origin = Anchor.Centre;