Browse Source

Fixed not being able to select nodes

Krzysztof Krysiński 2 tháng trước cách đây
mục cha
commit
64565c283c
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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;
         });
     }