mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Automatically close settings and notification overlays when opening main overlay
Closes #21162.
This commit is contained in:
@ -1006,6 +1006,9 @@ namespace osu.Game
|
||||
if (overlay.IsPresent)
|
||||
return;
|
||||
|
||||
Settings.Hide();
|
||||
Notifications.Hide();
|
||||
|
||||
// Show above all other overlays.
|
||||
if (overlay.IsLoaded)
|
||||
overlayContent.ChangeChildDepth(overlay, (float)-Clock.CurrentTime);
|
||||
|
Reference in New Issue
Block a user