- Implemented context sensitive toggle functionality

- Item list now updates on the fly when toggleing context sensitivity
- Added profiling
- Fixed a highlighting bug
- Minor cleanup
This commit is contained in:
Nils Hausfeld
2023-09-28 21:31:58 +02:00
parent b96098e555
commit 84b240216f
3 changed files with 42 additions and 10 deletions

View File

@@ -132,6 +132,13 @@ namespace FlaxEditor.Surface.ContextMenu
{
if (selectedBox == null)
{
for (int i = 0; i < _children.Count; i++)
{
if (_children[i] is VisjectCMItem item)
{
item.CanConnectTo(null);
}
}
Visible = true;
return;
}