Fix creating reroute nodes in Visject during debugging

This commit is contained in:
Wojtek Figat
2021-07-29 22:56:53 +02:00
parent 22d547e87b
commit ee6ef85326

View File

@@ -275,7 +275,7 @@ namespace FlaxEditor.Surface
if (!handled)
CustomMouseDoubleClick?.Invoke(ref location, button, ref handled);
if (!handled)
if (!handled && CanEdit)
{
var mousePos = _rootControl.PointFromParent(ref _mousePos);
if (IntersectsConnection(mousePos, out InputBox inputBox, out OutputBox outputBox))