mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Merge branch 'master' into no-unranked-display
This commit is contained in:
@ -13,6 +13,7 @@ using osu.Framework.Graphics.Shapes;
|
||||
using osu.Framework.Input.Bindings;
|
||||
using osu.Framework.Screens;
|
||||
using osu.Game.Audio;
|
||||
using osu.Game.Graphics;
|
||||
using osu.Game.Graphics.Containers;
|
||||
using osu.Game.Graphics.UserInterface;
|
||||
using osu.Game.Input.Bindings;
|
||||
@ -256,7 +257,7 @@ namespace osu.Game.Screens.Ranking
|
||||
ApplyToBackground(b =>
|
||||
{
|
||||
b.BlurAmount.Value = BACKGROUND_BLUR;
|
||||
b.FadeTo(0.5f, 250);
|
||||
b.FadeColour(OsuColour.Gray(0.5f), 250);
|
||||
});
|
||||
|
||||
bottomPanel.FadeTo(1, 250);
|
||||
@ -264,9 +265,11 @@ namespace osu.Game.Screens.Ranking
|
||||
|
||||
public override bool OnExiting(IScreen next)
|
||||
{
|
||||
ApplyToBackground(b => b.FadeTo(1, 250));
|
||||
if (base.OnExiting(next))
|
||||
return true;
|
||||
|
||||
return base.OnExiting(next);
|
||||
this.FadeOut(100);
|
||||
return false;
|
||||
}
|
||||
|
||||
public override bool OnBackButton()
|
||||
@ -314,7 +317,7 @@ namespace osu.Game.Screens.Ranking
|
||||
ScorePanelList.HandleInput = false;
|
||||
|
||||
// Dim background.
|
||||
ApplyToBackground(b => b.FadeTo(0.1f, 150));
|
||||
ApplyToBackground(b => b.FadeColour(OsuColour.Gray(0.1f), 150));
|
||||
|
||||
detachedPanel = expandedPanel;
|
||||
}
|
||||
@ -338,7 +341,7 @@ namespace osu.Game.Screens.Ranking
|
||||
ScorePanelList.HandleInput = true;
|
||||
|
||||
// Un-dim background.
|
||||
ApplyToBackground(b => b.FadeTo(0.5f, 150));
|
||||
ApplyToBackground(b => b.FadeColour(OsuColour.Gray(0.5f), 150));
|
||||
|
||||
detachedPanel = null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user