Browse Source

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

Co-authored-by: Max Katz <maxkatz6@outlook.com>
pull/6466/head
Sergey Mikolaytis 5 years ago
committed by GitHub
parent
commit
1a95905efe
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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