feat: add IsTopLevel property to OverlayDialogHost. only marked Host can trigger window movement.

This commit is contained in:
rabbitism
2024-09-12 15:41:12 +08:00
parent 95f28e14f4
commit a81fe88eb6
3 changed files with 4 additions and 3 deletions

View File

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