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
1 changed files with 4 additions and 0 deletions

View File

@ -328,6 +328,9 @@ private void updateLogoState(MenuState lastState = MenuState.Initial)
logoDelayedAction = Scheduler.AddDelayed(() =>
{
hideOverlaysOnEnter.Value = true;
allowOpeningOverlays.Value = false;
logo.ClearTransforms(targetMember: nameof(Position));
logo.RelativePositionAxes = Axes.Both;
@ -355,6 +358,7 @@ private void updateLogoState(MenuState lastState = MenuState.Initial)
logoTracking = true;
logo.Impact();
hideOverlaysOnEnter.Value = false;
allowOpeningOverlays.Value = true;
}, 200);