Re-add change allowing you to drag anywhere on the node.

This commit is contained in:
Menotdan
2023-11-10 10:53:14 -05:00
parent 14d14dd6f3
commit 96ba3832d6

View File

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