2
0
Эх сурвалжийг харах

Dont render connection if socket invisible

Krzysztof Krysiński 2 сар өмнө
parent
commit
e6a818b906

+ 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;
             }