2
0
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:
Xjph
2021-10-23 15:47:38 -02:30
parent 08a8aa3156
commit 310287b0af
3 changed files with 40 additions and 4 deletions

View File

@ -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);
});
};