mirror of
https://github.com/ppy/osu
synced 2025-02-15 17:47:28 +00:00
Fix major regression in scaling behaviour
This commit is contained in:
parent
668a39ac6d
commit
ba6176fd03
@ -356,17 +356,20 @@ namespace osu.Game
|
|||||||
ActionRequested = action => volume.Adjust(action),
|
ActionRequested = action => volume.Adjust(action),
|
||||||
ScrollActionRequested = (action, amount, isPrecise) => volume.Adjust(action, amount, isPrecise),
|
ScrollActionRequested = (action, amount, isPrecise) => volume.Adjust(action, amount, isPrecise),
|
||||||
},
|
},
|
||||||
|
screenContainer = new ScalingContainer(ScalingMode.ExcludeOverlays)
|
||||||
|
{
|
||||||
|
RelativeSizeAxes = Axes.Both,
|
||||||
|
Children = new Drawable[]
|
||||||
|
{
|
||||||
backgroundParallax = new ParallaxContainer
|
backgroundParallax = new ParallaxContainer
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Child = backgroundStack = new BackgroundScreenStack { RelativeSizeAxes = Axes.Both },
|
Child = backgroundStack = new BackgroundScreenStack { RelativeSizeAxes = Axes.Both },
|
||||||
},
|
},
|
||||||
screenContainer = new ScalingContainer(ScalingMode.ExcludeOverlays)
|
screenStack = new ScreenStack { RelativeSizeAxes = Axes.Both },
|
||||||
{
|
|
||||||
RelativeSizeAxes = Axes.Both,
|
|
||||||
Child = screenStack = new ScreenStack { RelativeSizeAxes = Axes.Both }
|
|
||||||
},
|
|
||||||
logoContainer = new Container { RelativeSizeAxes = Axes.Both },
|
logoContainer = new Container { RelativeSizeAxes = Axes.Both },
|
||||||
|
}
|
||||||
|
},
|
||||||
overlayContent = new Container
|
overlayContent = new Container
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
|
Loading…
Reference in New Issue
Block a user