Merge branch 'fix-widget-play' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-widget-play

This commit is contained in:
Wojtek Figat
2024-03-19 11:13:50 +01:00

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 || (!EnableSelecting && Parent?.Parent is not Windows.GameWindow));
}
}
}