mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-07-02 00:43:42 -04:00
allow multiple simultaneous popup notifications to vertically stack
This commit is contained in:
@ -21,10 +21,12 @@ namespace Observatory.UI.Views
|
||||
public class BasicUIView : UserControl
|
||||
{
|
||||
private DataGrid dataGrid;
|
||||
private NativeNotification.NativePopup nativePopup;
|
||||
|
||||
public BasicUIView()
|
||||
{
|
||||
InitializeComponent();
|
||||
nativePopup = new();
|
||||
}
|
||||
|
||||
private void InitializeComponent()
|
||||
@ -274,7 +276,7 @@ namespace Observatory.UI.Views
|
||||
Detail = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras suscipit hendrerit libero ac scelerisque."
|
||||
};
|
||||
|
||||
new NativeNotification.NativePopup().InvokeNativeNotification(notificationArgs);
|
||||
nativePopup.InvokeNativeNotification(notificationArgs);
|
||||
});
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user