Skip to content

Commit

Permalink
Merge pull request #10271 from MrJul/fix-devtools-handled-event
Browse files Browse the repository at this point in the history
Dev tools: fixed wrong HandledBy for events
  • Loading branch information
maxkatz6 authored Feb 8, 2023
2 parents 4d8102d + f04c9fa commit 4a4d713
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ void handler()
var link = _currentEvent.EventChain[linkIndex];

link.Handled = true;
_currentEvent.HandledBy = link;
_currentEvent.HandledBy ??= link;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

<Style Selector="ListBoxItem.handled" >
<Setter Property="Background" Value="#d9ffdc" />
<Setter Property="Foreground" Value="Black" />
</Style>
</UserControl.Styles>

Expand Down

0 comments on commit 4a4d713

Please sign in to comment.