fix context menu on reroute node

This commit is contained in:
xxSeys1
2025-06-15 02:08:47 +02:00
parent 92edb996f2
commit a4d3ede368

View File

@@ -289,7 +289,7 @@ namespace FlaxEditor.Surface
_cmStartPos = location;
List<Box> startBoxes = new List<Box>(_connectionInstigators.Cast<Box>());
List<Box> startBoxes = new List<Box>(_connectionInstigators.Where(c => c is Box).Cast<Box>());
// Position offset added so the user can quickly close the menu by clicking
OnShowPrimaryMenu(_activeVisjectCM, _cmStartPos + ContextMenuOffset, startBoxes);