mirror of
https://github.com/osukey/osukey.git
synced 2025-05-01 19:57:25 +09:00
Fix crash on shift+right-click deleting objects
This commit is contained in:
parent
aae59dc3cf
commit
4d2bc790fd
@ -338,7 +338,7 @@ 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)
|
foreach (SelectionBlueprint blueprint in SelectionBlueprints.AliveChildren.ToList())
|
||||||
{
|
{
|
||||||
if (!blueprint.IsHovered) continue;
|
if (!blueprint.IsHovered) continue;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user