fix: fix flag issue.
This commit is contained in:
@@ -55,7 +55,7 @@ public class PopConfirm : ContentControl
|
||||
|
||||
public static readonly StyledProperty<PopConfirmTriggerMode> TriggerModeProperty =
|
||||
AvaloniaProperty.Register<PopConfirm, PopConfirmTriggerMode>(
|
||||
nameof(TriggerMode));
|
||||
nameof(TriggerMode), PopConfirmTriggerMode.Click);
|
||||
|
||||
public static readonly StyledProperty<bool> HandleAsyncCommandProperty =
|
||||
AvaloniaProperty.Register<PopConfirm, bool>(
|
||||
|
||||
@@ -3,6 +3,6 @@ namespace Ursa.Controls;
|
||||
[Flags]
|
||||
public enum PopConfirmTriggerMode
|
||||
{
|
||||
Click,
|
||||
Focus,
|
||||
Click = 1,
|
||||
Focus = 2,
|
||||
}
|
||||
Reference in New Issue
Block a user