fix: 1. Fix modal status leak through issue

2. Fix the issue that dialog host cannot be unregistered properly.
This commit is contained in:
rabbitism
2024-07-23 23:34:49 +08:00
parent b0d3806d52
commit c4f0c1143b
2 changed files with 21 additions and 21 deletions

View File

@@ -64,7 +64,7 @@
Margin="{Binding $parent[u:UrsaWindow].TitleBarMargin}"
LeftContent="{Binding $parent[u:UrsaWindow].LeftContent}"
RightContent="{Binding $parent[u:UrsaWindow].RightContent}" />
<u:OverlayDialogHost />
<u:OverlayDialogHost IsModalStatusReporter="True" />
</VisualLayerManager.ChromeOverlayLayer>
<Panel>
<ContentPresenter