1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 20:22:55 +08:00

hide overlays when going back to initial menu state

This commit is contained in:
Aergwyn 2018-05-21 17:24:57 +02:00
parent 9820666bcf
commit cee8d21542

View File

@ -328,6 +328,9 @@ namespace osu.Game.Screens.Menu
logoDelayedAction = Scheduler.AddDelayed(() =>
{
hideOverlaysOnEnter.Value = true;
allowOpeningOverlays.Value = false;
logo.ClearTransforms(targetMember: nameof(Position));
logo.RelativePositionAxes = Axes.Both;
@ -355,6 +358,7 @@ namespace osu.Game.Screens.Menu
logoTracking = true;
logo.Impact();
hideOverlaysOnEnter.Value = false;
allowOpeningOverlays.Value = true;
}, 200);