From 67eb4e9450aaa2a2598158b38a6569b5f4bf42ee Mon Sep 17 00:00:00 2001 From: Bastian Schmidt Date: Sat, 25 Aug 2018 13:30:31 +0200 Subject: [PATCH] Adding debug tracing --- Fluent.Ribbon/Services/PopupService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Fluent.Ribbon/Services/PopupService.cs b/Fluent.Ribbon/Services/PopupService.cs index 316eaa3c1..e77cf16b6 100644 --- a/Fluent.Ribbon/Services/PopupService.cs +++ b/Fluent.Ribbon/Services/PopupService.cs @@ -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"); } } @@ -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); }