feat: revert mask animation for dialog.
This commit is contained in:
@@ -112,6 +112,7 @@ public partial class OverlayDialogHost
|
|||||||
SetToPosition(control);
|
SetToPosition(control);
|
||||||
control.AddHandler(OverlayFeedbackElement.ClosedEvent, OnDialogControlClosing);
|
control.AddHandler(OverlayFeedbackElement.ClosedEvent, OnDialogControlClosing);
|
||||||
control.AddHandler(DialogControlBase.LayerChangedEvent, OnDialogLayerChanged);
|
control.AddHandler(DialogControlBase.LayerChangedEvent, OnDialogLayerChanged);
|
||||||
|
// Notice: mask animation here is not really awaited, because currently dialogs appears immediately.
|
||||||
if (!IsAnimationDisabled) MaskAppearAnimation.RunAsync(mask);
|
if (!IsAnimationDisabled) MaskAppearAnimation.RunAsync(mask);
|
||||||
|
|
||||||
var element = control.GetVisualDescendants().OfType<InputElement>()
|
var element = control.GetVisualDescendants().OfType<InputElement>()
|
||||||
|
|||||||
Reference in New Issue
Block a user