Skip to content

Commit

Permalink
Adding debug tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
batzen committed Aug 25, 2018
1 parent a2fda2a commit 67eb4e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Fluent.Ribbon/Services/PopupService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ public static void OnContextMenuOpening(object sender, ContextMenuEventArgs e)
if (sender is IDropDownControl control)
{
control.IsContextMenuOpened = true;
// Debug.WriteLine("Context menu opened");
Debug.WriteLine("Context menu opening");
}
}

Expand All @@ -354,7 +354,7 @@ public static void OnContextMenuClosing(object sender, ContextMenuEventArgs e)
{
if (sender is IDropDownControl control)
{
//Debug.WriteLine("Context menu closed");
Debug.WriteLine("Context menu closing");
control.IsContextMenuOpened = false;
RaiseDismissPopupEvent(control, DismissPopupMode.MouseNotOver);
}
Expand Down

0 comments on commit 67eb4e9

Please sign in to comment.