mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:17:26 +08:00
Merge branch 'master' into fix-test-signalr-connection-failures
This commit is contained in:
commit
5f7bfc4304
@ -176,6 +176,7 @@ namespace osu.Game.Overlays.Volume
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Bindable.ValueChanged += volume =>
|
||||
{
|
||||
this.TransformTo("DisplayVolume",
|
||||
@ -183,6 +184,7 @@ namespace osu.Game.Overlays.Volume
|
||||
400,
|
||||
Easing.OutQuint);
|
||||
};
|
||||
|
||||
bgProgress.Current.Value = 0.75f;
|
||||
}
|
||||
|
||||
|
@ -68,15 +68,19 @@ namespace osu.Game.Screens
|
||||
|
||||
public override bool OnExiting(IScreen next)
|
||||
{
|
||||
this.FadeOut(transition_length, Easing.OutExpo);
|
||||
this.MoveToX(x_movement_amount, transition_length, Easing.OutExpo);
|
||||
if (IsLoaded)
|
||||
{
|
||||
this.FadeOut(transition_length, Easing.OutExpo);
|
||||
this.MoveToX(x_movement_amount, transition_length, Easing.OutExpo);
|
||||
}
|
||||
|
||||
return base.OnExiting(next);
|
||||
}
|
||||
|
||||
public override void OnResuming(IScreen last)
|
||||
{
|
||||
this.MoveToX(0, transition_length, Easing.OutExpo);
|
||||
if (IsLoaded)
|
||||
this.MoveToX(0, transition_length, Easing.OutExpo);
|
||||
base.OnResuming(last);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user