浏览代码

Merge branch 'master' into flatpak

Krzysztof Krysiński 1 月之前
父节点
当前提交
e23d380572
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/PixiEditor/Views/Nodes/ConnectionRenderer.cs

+ 1 - 1
src/PixiEditor/Views/Nodes/ConnectionRenderer.cs

@@ -51,7 +51,7 @@ public class ConnectionRenderer : Control
                     ? socket
                     : null;
 
-            if (inputSocket == null || outputSocket == null)
+            if (inputSocket == null || outputSocket == null || !inputSocket.IsVisible || !outputSocket.IsVisible)
             {
                 continue;
             }