Update ContextFlyout

This commit is contained in:
2026-02-05 13:52:53 +09:00
parent eadd13931f
commit 9bbccfc8f8
20 changed files with 258 additions and 105 deletions

View File

@@ -54,6 +54,11 @@ internal sealed partial class ProjectBrowser : UserControl
private void ProjectBrowser_Unloaded(object sender, RoutedEventArgs e)
{
_inspectorService.OnSelectionChanged -= _inspectorService_OnSelectionChanged;
if (LastFocused == this)
{
LastFocused = null;
}
}
private void _inspectorService_OnSelectionChanged(object? sender, InspectorSelectionChangedEventArgs e)