Skip to content

Commit

Permalink
Fixed knot node binding errors in playground app
Browse files Browse the repository at this point in the history
  • Loading branch information
miroiu committed May 25, 2024
1 parent e9a6023 commit f5105ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Examples/Nodify.Playground/Editor/FlowNodeViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ public string? Title
public NodifyObservableCollection<ConnectorViewModel> Input { get; } = new NodifyObservableCollection<ConnectorViewModel>();
public NodifyObservableCollection<ConnectorViewModel> Output { get; } = new NodifyObservableCollection<ConnectorViewModel>();

public Orientation Orientation { get; protected set; }

public FlowNodeViewModel()
{
Orientation = Orientation.Horizontal;
Expand Down
3 changes: 3 additions & 0 deletions Examples/Nodify.Playground/Editor/NodeViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Windows;
using System.Windows.Controls;

namespace Nodify.Playground
{
Expand All @@ -17,5 +18,7 @@ public Point Location
get => _location;
set => SetProperty(ref _location, value);
}

public Orientation Orientation { get; protected set; }
}
}

0 comments on commit f5105ae

Please sign in to comment.