mirror of
https://github.com/osukey/osukey.git
synced 2025-07-04 01:40:02 +09:00
Remove background scale altogether
I'm not sure why this is required. Seems like something which was meant to exist to handle parallax, but that is already handled elsewhere now.
This commit is contained in:
@ -4,25 +4,19 @@
|
||||
using System.Collections.Generic;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Screens;
|
||||
using osuTK;
|
||||
|
||||
namespace osu.Game.Screens
|
||||
{
|
||||
public class BackgroundScreenStack : ScreenStack
|
||||
{
|
||||
public const float BACKGROUND_SCALE = 1.06f;
|
||||
|
||||
public BackgroundScreenStack()
|
||||
: base(false)
|
||||
{
|
||||
Scale = new Vector2(BACKGROUND_SCALE);
|
||||
RelativeSizeAxes = Axes.Both;
|
||||
Anchor = Anchor.Centre;
|
||||
Origin = Anchor.Centre;
|
||||
}
|
||||
|
||||
//public float ParallaxAmount { set => parallax.ParallaxAmount = ParallaxContainer.DEFAULT_PARALLAX_AMOUNT * value; }
|
||||
|
||||
public void Push(BackgroundScreen screen)
|
||||
{
|
||||
if (screen == null)
|
||||
|
Reference in New Issue
Block a user