Revert "Surface node body responds to mouse events"

This reverts commit d9b3443818.
This commit is contained in:
davevanegdom
2023-09-19 14:16:40 +02:00
parent 4257f1e2ac
commit ad8d84bfd7

View File

@@ -878,7 +878,7 @@ namespace FlaxEditor.Surface
/// <inheritdoc />
public override bool CanSelect(ref Float2 location)
{
return _headerRect.MakeOffsetted(Location).Contains(ref location) || new Rectangle(Float2.Zero, Size).MakeOffsetted(Location).Contains(ref location);
return _headerRect.MakeOffsetted(Location).Contains(ref location);
}
/// <inheritdoc />