1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-06 02:53:40 +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
Unverified
parent 9820666bcf
commit cee8d21542
+4
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);