From 391b50e8430dadc098848ca2b709750389bd6c4e Mon Sep 17 00:00:00 2001 From: Johannes Date: Thu, 2 Apr 2020 12:09:57 +0200 Subject: [PATCH] Update NotificationsWindow.xaml.cs Fixes #99 Workaround for wonky WPF/RDP behaviour when using Transparency & Visibility.Collapsed --- Src/ToastNotifications/Display/NotificationsWindow.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/ToastNotifications/Display/NotificationsWindow.xaml.cs b/Src/ToastNotifications/Display/NotificationsWindow.xaml.cs index 7bf7828..254b2d7 100644 --- a/Src/ToastNotifications/Display/NotificationsWindow.xaml.cs +++ b/Src/ToastNotifications/Display/NotificationsWindow.xaml.cs @@ -61,7 +61,7 @@ private void RecomputeLayout() { if (NotificationsList.GetItemCount() == 0) { - this.Visibility = Visibility.Collapsed; + this.Visibility = Visibility.Hidden; } else {