1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 18:47:27 +08:00

Merge if branches

This commit is contained in:
Salman Ahmed 2024-08-22 05:40:43 +09:00
parent fc02b4b942
commit 1efa6b7221

View File

@ -227,10 +227,11 @@ namespace osu.Game.Overlays.Mods
{
base.Update();
if (ExpandedState.Value == ModCustomisationPanelState.ExpandedByHover)
if (ExpandedState.Value == ModCustomisationPanelState.ExpandedByHover
&& !ReceivePositionalInputAt(inputManager.CurrentState.Mouse.Position)
&& inputManager.DraggedDrawable == null)
{
if (!ReceivePositionalInputAt(inputManager.CurrentState.Mouse.Position) && inputManager.DraggedDrawable == null)
ExpandedState.Value = ModCustomisationPanelState.Collapsed;
ExpandedState.Value = ModCustomisationPanelState.Collapsed;
}
}
}