feat: make mask draggable when it's modal and cannot light dismiss.

This commit is contained in:
rabbitism
2024-08-10 22:23:13 +08:00
parent 1a99b92eee
commit 7728e00b83
3 changed files with 24 additions and 1 deletions

View File

@@ -119,6 +119,7 @@ public partial class OverlayDialogHost
control.RemoveHandler(OverlayFeedbackElement.ClosedEvent, OnDialogControlClosing);
control.RemoveHandler(DialogControlBase.LayerChangedEvent, OnDialogLayerChanged);
control.RemoveHandler(PointerPressedEvent, DragMaskToMoveWindow);
Children.Remove(control);