Browse Source

Add comment.

pull/8172/head
Takoooooo 4 years ago
parent
commit
1c2da897e5
  1. 1
      src/Avalonia.Controls/Platform/DefaultMenuInteractionHandler.cs

1
src/Avalonia.Controls/Platform/DefaultMenuInteractionHandler.cs

@ -344,6 +344,7 @@ namespace Avalonia.Controls.Platform
protected internal virtual void PointerMoved(object? sender, PointerEventArgs e)
{
// HACK: #8179 needs to be addressed to correctly implement it in the PointerPressed method.
var item = GetMenuItem(e.Source as IControl) as MenuItem;
if (item?.TransformedBounds == null)
{

Loading…
Cancel
Save