Browse Source

[Menu] [Interaction] Allow end user to change menu show delay globally (#6392)

Co-authored-by: Max Katz <maxkatz6@outlook.com>
release/0.10.8
Sergey Mikolaytis 5 years ago
committed by Steven Kirk
parent
commit
7374bb25a0
  1. 2
      src/Avalonia.Controls/Platform/DefaultMenuInteractionHandler.cs

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

@ -115,7 +115,7 @@ namespace Avalonia.Controls.Platform
protected IMenu? Menu { get; private set; }
protected static TimeSpan MenuShowDelay { get; } = TimeSpan.FromMilliseconds(400);
public static TimeSpan MenuShowDelay { get; set; } = TimeSpan.FromMilliseconds(400);
protected internal virtual void GotFocus(object sender, GotFocusEventArgs e)
{

Loading…
Cancel
Save