mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 10:03:05 +08:00
Hide settings/notifications regardless of IsPresent
state of new overlay
This commit is contained in:
parent
2163cd212b
commit
b9374cae55
@ -1002,13 +1002,13 @@ namespace osu.Game
|
||||
{
|
||||
otherOverlays.Where(o => o != overlay).ForEach(o => o.Hide());
|
||||
|
||||
Settings.Hide();
|
||||
Notifications.Hide();
|
||||
|
||||
// Partially visible so leave it at the current depth.
|
||||
if (overlay.IsPresent)
|
||||
return;
|
||||
|
||||
Settings.Hide();
|
||||
Notifications.Hide();
|
||||
|
||||
// Show above all other overlays.
|
||||
if (overlay.IsLoaded)
|
||||
overlayContent.ChangeChildDepth(overlay, (float)-Clock.CurrentTime);
|
||||
|
Loading…
Reference in New Issue
Block a user