Explorar el Código

Fixed not being able to select nodes

Krzysztof Krysiński hace 2 meses
padre
commit
64565c283c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/PixiEditor/Views/Nodes/NodeGraphView.cs

+ 1 - 0
src/PixiEditor/Views/Nodes/NodeGraphView.cs

@@ -241,6 +241,7 @@ internal class NodeGraphView : Zoombox.Zoombox
         {
             nodeViewsCache = nodeItemsControl.ItemsPanelRoot.Children.ToList();
             HandleNodesAdded(nodeViewsCache);
+            nodeItemsControl.ItemsPanelRoot.Children.CollectionChanged += NodeItems_CollectionChanged;
         });
     }