Ver código fonte

Fixed not being able to select nodes

Krzysztof Krysiński 2 meses atrás
pai
commit
64565c283c
1 arquivos alterados com 1 adições e 0 exclusões
  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;
         });
     }