*
This commit is contained in:
1 parent
1508b58a9b
commit
7ce6a6abc0
2 files changed
+7
-13
No files matched your search
@@ -124,17 +124,6 @@ public static class ModernTooltipService {
|
||||
|
||||
private static void OnMouseLeave(object sender, MouseEventArgs e) {
|
||||
if (sender is not FrameworkElement owner || !ReferenceEquals(owner, currentOwner)) return;
|
||||
if (sender is TextBox box) {
|
||||
Logger.Warn("MOUSELEAVE: " + (
|
||||
$"Leave: IsMouseOver={box.IsMouseOver}, " +
|
||||
$"Captured={Mouse.Captured}, " +
|
||||
$"DirectlyOver={Mouse.DirectlyOver}, " +
|
||||
$"OriginalSource={e.OriginalSource}"), LogBehavior.None);
|
||||
}
|
||||
Logger.Warn("MOUSELEAVE: " + sender.GetType().Name + ", " +
|
||||
$"Captured={Mouse.Captured}, " +
|
||||
$"DirectlyOver={Mouse.DirectlyOver}, " +
|
||||
$"OriginalSource={e.OriginalSource}", LogBehavior.None);
|
||||
|
||||
if (!(owner.IsEnabled || !ToolTipService.GetShowOnDisabled(owner) || !IsPointInside(owner, Mouse.GetPosition(owner)))) return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user