From 9f8e724a7659e20bb9c8787c5daa65862ae21e0a Mon Sep 17 00:00:00 2001 From: ProgrammaticNajel Date: Wed, 6 Feb 2019 17:14:33 +0800 Subject: [PATCH] Fix background being cut off at the top of the screen (#4207) Fix background being cut off at the top of the screen --- osu.Game/Screens/BackgroundScreenStack.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/osu.Game/Screens/BackgroundScreenStack.cs b/osu.Game/Screens/BackgroundScreenStack.cs index 7bf167295c..b010a70e66 100644 --- a/osu.Game/Screens/BackgroundScreenStack.cs +++ b/osu.Game/Screens/BackgroundScreenStack.cs @@ -14,6 +14,8 @@ namespace osu.Game.Screens { Scale = new Vector2(1.06f); RelativeSizeAxes = Axes.Both; + Anchor = Anchor.Centre; + Origin = Anchor.Centre; } //public float ParallaxAmount { set => parallax.ParallaxAmount = ParallaxContainer.DEFAULT_PARALLAX_AMOUNT * value; }