1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-22 23:00:52 +08:00

Hide options popover when mods overlay is shown

This commit is contained in:
Dean Herbert
2025-05-30 01:38:59 +09:00
Unverified
parent 6fbc9e4580
commit df51bb2fa6
+3
View File
@@ -6,6 +6,7 @@ using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
@@ -312,6 +313,8 @@ namespace osu.Game.Screens.Footer
private void showOverlay(OverlayContainer overlay)
{
this.HidePopover();
foreach (var o in overlays.Where(o => o != overlay))
o.Hide();