diff --git a/Source/Editor/Surface/VisjectSurface.Input.cs b/Source/Editor/Surface/VisjectSurface.Input.cs index 9b96aa165..d6820614f 100644 --- a/Source/Editor/Surface/VisjectSurface.Input.cs +++ b/Source/Editor/Surface/VisjectSurface.Input.cs @@ -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))