mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 17:32:54 +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>
|
||||
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 (SelectionHandler.HandleSelectionRequested(blueprint, e))
|
||||
return clickSelectionBegan = true;
|
||||
selectedPerformed &= SelectionHandler.HandleSelectionRequested(blueprint, e);
|
||||
clickSelectionBegan = true;
|
||||
break;
|
||||
}
|
||||
|
||||
return false;
|
||||
return selectedPerformed;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user