mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 09:16: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:
|
case EventType.MouseUp:
|
||||||
_isResizing = false;
|
_isResizing = false;
|
||||||
// Select nodes inside the group
|
// Select nodes inside the group
|
||||||
if (false && Selection.Contains(target))
|
if (Selection.Contains(target))
|
||||||
{
|
{
|
||||||
var selection = Selection.objects.ToList();
|
var selection = Selection.objects.ToList();
|
||||||
// Select Nodes
|
// Select Nodes
|
||||||
@ -156,7 +156,7 @@ namespace XNodeEditor.NodeGroups
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (p.y > group.position.y + group.height + 30)
|
if (p.y > group.position.y + group.height + headerStyle.fixedHeight)
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -46,7 +46,8 @@ namespace XNode
|
|||||||
continue;
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user