mirror of
https://github.com/ppy/osu.git
synced 2025-02-19 15:23:09 +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);
|
base.OnEntering(last);
|
||||||
(Background as BackgroundScreenBeatmap)?.BlurTo(background_blur, 2500, Easing.OutQuint);
|
(Background as BackgroundScreenBeatmap)?.BlurTo(background_blur, 2500, Easing.OutQuint);
|
||||||
|
Background.ScaleTo(1.1f, transition_time, Easing.OutQuint);
|
||||||
|
|
||||||
allCircles.ForEach(c =>
|
allCircles.ForEach(c =>
|
||||||
{
|
{
|
||||||
@ -102,6 +103,8 @@ namespace osu.Game.Screens.Ranking
|
|||||||
c.ScaleTo(0, transition_time, Easing.OutSine);
|
c.ScaleTo(0, transition_time, Easing.OutSine);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Background.ScaleTo(1f, transition_time / 4, Easing.OutQuint);
|
||||||
|
|
||||||
Content.FadeOut(transition_time / 4);
|
Content.FadeOut(transition_time / 4);
|
||||||
|
|
||||||
return base.OnExiting(next);
|
return base.OnExiting(next);
|
||||||
@ -160,7 +163,6 @@ namespace osu.Game.Screens.Ranking
|
|||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
ParallaxAmount = 0.01f,
|
ParallaxAmount = 0.01f,
|
||||||
Scale = new Vector2(1 / circle_outer_scale / overscan),
|
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
|
Loading…
Reference in New Issue
Block a user