Skip to content

Commit

Permalink
Merge pull request miroiu#190 from miroiu/fix/187-delete-selected-con…
Browse files Browse the repository at this point in the history
…nection

Fix an issue where connections would not gain focus when selected
  • Loading branch information
miroiu authored Jan 5, 2025
2 parents 746615c + e671cb5 commit 10cea9d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
> - Breaking Changes:
> - Features:
> - Bugfixes:
> - Fixed an issue where connections would not gain focus when selected, which could prevent editor keybindings from functioning in certain scenarios
#### **Version 7.0.0**

Expand Down
5 changes: 5 additions & 0 deletions Nodify/Connections/ConnectionContainer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ public event RoutedEventHandler Unselected

private SelectionType? _selectionType;

static ConnectionContainer()
{
FocusableProperty.OverrideMetadata(typeof(ConnectionContainer), new FrameworkPropertyMetadata(BoxValue.True));
}

internal ConnectionContainer(ConnectionsMultiSelector selector)
{
Selector = selector;
Expand Down

0 comments on commit 10cea9d

Please sign in to comment.