mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 13:22:55 +08:00
Tweak cutoff effect for new Q value
This commit is contained in:
parent
df182ba92b
commit
266e62794e
@ -82,13 +82,15 @@ namespace osu.Game.Overlays
|
||||
{
|
||||
base.PopIn();
|
||||
this.FadeIn(PopupDialog.ENTER_DURATION, Easing.OutQuint);
|
||||
lpFilter.CutoffTo(2000).Then().CutoffTo(150, 100, Easing.OutCubic);
|
||||
lpFilter.CutoffTo(300, 100, Easing.OutCubic);
|
||||
}
|
||||
|
||||
protected override void PopOut()
|
||||
{
|
||||
base.PopOut();
|
||||
|
||||
lpFilter.CutoffTo(lpFilter.MaxCutoff, 100, Easing.InCubic);
|
||||
|
||||
if (CurrentDialog?.State.Value == Visibility.Visible)
|
||||
{
|
||||
CurrentDialog.Hide();
|
||||
@ -96,7 +98,6 @@ namespace osu.Game.Overlays
|
||||
}
|
||||
|
||||
this.FadeOut(PopupDialog.EXIT_DURATION, Easing.InSine);
|
||||
lpFilter.CutoffTo(2000, 100, Easing.InCubic).Then().CutoffTo(lpFilter.MaxCutoff);
|
||||
}
|
||||
|
||||
public override bool OnPressed(KeyBindingPressEvent<GlobalAction> e)
|
||||
|
Loading…
Reference in New Issue
Block a user