From 41b774faf60354e4172500d1657adf74e5fd8f67 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Mon, 4 Oct 2021 12:24:15 +0200 Subject: [PATCH] Fix connector node creation in Visject on double-click over node --- Source/Editor/Surface/VisjectSurface.Input.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Editor/Surface/VisjectSurface.Input.cs b/Source/Editor/Surface/VisjectSurface.Input.cs index d6820614f..2e48ccb3c 100644 --- a/Source/Editor/Surface/VisjectSurface.Input.cs +++ b/Source/Editor/Surface/VisjectSurface.Input.cs @@ -278,7 +278,7 @@ namespace FlaxEditor.Surface if (!handled && CanEdit) { var mousePos = _rootControl.PointFromParent(ref _mousePos); - if (IntersectsConnection(mousePos, out InputBox inputBox, out OutputBox outputBox)) + if (IntersectsConnection(mousePos, out InputBox inputBox, out OutputBox outputBox) && GetControlUnderMouse() == null) { if (Undo != null) {