Skip to content

Commit

Permalink
fix(NotificationsController): re-enable dismiss notifications panel b…
Browse files Browse the repository at this point in the history
…y clicking the bell
  • Loading branch information
Enzo707 committed Dec 11, 2023
1 parent eaff9b3 commit 4c30abd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Notifications/NotificationCenterController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,12 @@ private void DynamoView_SizeChanged(object sender, SizeChangedEventArgs e)
/// <param name="e"></param>
private void DynamoView_PreviewMouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
{
string popupBellID = "FontAwesome5.FontAwesome";
if (!notificationUIPopup.IsOpen) return;
notificationUIPopup.IsOpen = false;
if(e.OriginalSource.ToString() != popupBellID)
{
notificationUIPopup.IsOpen = false;
}
}

/// <summary>
Expand Down

0 comments on commit 4c30abd

Please sign in to comment.