mirror of
https://github.com/ppy/osu.git
synced 2025-02-22 03:52:54 +08:00
Merge if branches
This commit is contained in:
parent
fc02b4b942
commit
1efa6b7221
@ -227,10 +227,11 @@ namespace osu.Game.Overlays.Mods
|
|||||||
{
|
{
|
||||||
base.Update();
|
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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user