mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 01:06:01 +08:00
Re-enabled selecting of group children nodes.
This commit is contained in:
parent
26e5bf451e
commit
25e3f171f9
@ -123,7 +123,7 @@ namespace XNodeEditor.NodeGroups
|
||||
case EventType.MouseUp:
|
||||
_isResizing = false;
|
||||
// Select nodes inside the group
|
||||
if (false && Selection.Contains(target))
|
||||
if (Selection.Contains(target))
|
||||
{
|
||||
var selection = Selection.objects.ToList();
|
||||
// Select Nodes
|
||||
@ -156,7 +156,7 @@ namespace XNodeEditor.NodeGroups
|
||||
continue;
|
||||
}
|
||||
|
||||
if (p.y > group.position.y + group.height + 30)
|
||||
if (p.y > group.position.y + group.height + headerStyle.fixedHeight)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -46,7 +46,8 @@ namespace XNode
|
||||
continue;
|
||||
}
|
||||
|
||||
if (node.position.y > position.y + height + 30)
|
||||
// Number at the end must match the fixedHeight for the group's header style.
|
||||
if (node.position.y > position.y + height + 46)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user