mirror of
https://github.com/ppy/osu.git
synced 2025-02-16 03:02:56 +08:00
Merge pull request #2663 from smoogipoo/fix-results-parallax
Fix results screen parallax being cut off
This commit is contained in:
commit
e8cc3294d7
@ -57,6 +57,7 @@ namespace osu.Game.Screens.Ranking
|
||||
{
|
||||
base.OnEntering(last);
|
||||
(Background as BackgroundScreenBeatmap)?.BlurTo(background_blur, 2500, Easing.OutQuint);
|
||||
Background.ScaleTo(1.1f, transition_time, Easing.OutQuint);
|
||||
|
||||
allCircles.ForEach(c =>
|
||||
{
|
||||
@ -102,6 +103,8 @@ namespace osu.Game.Screens.Ranking
|
||||
c.ScaleTo(0, transition_time, Easing.OutSine);
|
||||
});
|
||||
|
||||
Background.ScaleTo(1f, transition_time / 4, Easing.OutQuint);
|
||||
|
||||
Content.FadeOut(transition_time / 4);
|
||||
|
||||
return base.OnExiting(next);
|
||||
@ -160,7 +163,6 @@ namespace osu.Game.Screens.Ranking
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
ParallaxAmount = 0.01f,
|
||||
Scale = new Vector2(1 / circle_outer_scale / overscan),
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
Children = new Drawable[]
|
||||
|
Loading…
Reference in New Issue
Block a user