mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 12:57:39 +09: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());
|
otherOverlays.Where(o => o != overlay).ForEach(o => o.Hide());
|
||||||
|
|
||||||
|
Settings.Hide();
|
||||||
|
Notifications.Hide();
|
||||||
|
|
||||||
// Partially visible so leave it at the current depth.
|
// Partially visible so leave it at the current depth.
|
||||||
if (overlay.IsPresent)
|
if (overlay.IsPresent)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Settings.Hide();
|
|
||||||
Notifications.Hide();
|
|
||||||
|
|
||||||
// Show above all other overlays.
|
// Show above all other overlays.
|
||||||
if (overlay.IsLoaded)
|
if (overlay.IsLoaded)
|
||||||
overlayContent.ChangeChildDepth(overlay, (float)-Clock.CurrentTime);
|
overlayContent.ChangeChildDepth(overlay, (float)-Clock.CurrentTime);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user