Remove widgets when EnableSelecting is false.

This commit is contained in:
Chandler Cox
2024-03-18 18:50:53 -05:00
parent 34f35ebaac
commit cf44d6580d

View File

@@ -507,7 +507,7 @@ namespace FlaxEditor
{
if (IsValidControl(selection[i], out var controlActor))
{
DrawControl(controlActor, controlActor.Control, true, ref mousePos, ref drawAnySelectedControl, true);
DrawControl(controlActor, controlActor.Control, true, ref mousePos, ref drawAnySelectedControl, EnableSelecting);
}
}
}