Skip to content

Commit

Permalink
217 notification crash (#13523)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjkkirschner authored Nov 16, 2022
1 parent bee67f2 commit 86263ab
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Notifications/NotificationCenterController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,11 @@ private void WebView_CoreWebView2InitializationCompleted(object sender, Microsof

private void DynamoView_LocationChanged(object sender, EventArgs e)
{
notificationUIPopup.Placement = PlacementMode.Bottom;
notificationUIPopup.UpdatePopupLocation();
if (notificationUIPopup != null)
{
notificationUIPopup.Placement = PlacementMode.Bottom;
notificationUIPopup.UpdatePopupLocation();
}
}

private void DynamoView_SizeChanged(object sender, SizeChangedEventArgs e)
Expand Down

0 comments on commit 86263ab

Please sign in to comment.