Skip to content

Commit

Permalink
Fixed an issue where connections would not gain focus when selected
Browse files Browse the repository at this point in the history
  • Loading branch information
miroiu committed Jan 5, 2025
1 parent 746615c commit e671cb5
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 e671cb5

Please sign in to comment.