mirror of
https://github.com/ppy/osu.git
synced 2025-03-06 04:33:21 +08:00
Revert beginClickSelection logic
This commit is contained in:
parent
83727a2e85
commit
1db303b159
@ -338,15 +338,18 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
|||||||
/// <returns>Whether a selection was performed.</returns>
|
/// <returns>Whether a selection was performed.</returns>
|
||||||
private bool beginClickSelection(MouseButtonEvent e)
|
private bool beginClickSelection(MouseButtonEvent e)
|
||||||
{
|
{
|
||||||
foreach (SelectionBlueprint blueprint in SelectionBlueprints.AliveChildren.ToList())
|
bool selectedPerformed = true;
|
||||||
|
|
||||||
|
foreach (SelectionBlueprint blueprint in SelectionBlueprints.AliveChildren)
|
||||||
{
|
{
|
||||||
if (!blueprint.IsHovered) continue;
|
if (!blueprint.IsHovered) continue;
|
||||||
|
|
||||||
if (SelectionHandler.HandleSelectionRequested(blueprint, e))
|
selectedPerformed &= SelectionHandler.HandleSelectionRequested(blueprint, e);
|
||||||
return clickSelectionBegan = true;
|
clickSelectionBegan = true;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return selectedPerformed;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user