From 13f78139843dae704e0ab2e4a49cc26a2527cdc4 Mon Sep 17 00:00:00 2001 From: Dan Walmsley Date: Thu, 26 Sep 2019 20:32:22 +0100 Subject: [PATCH] add support for , in key gesture. --- src/Avalonia.Input/KeyGesture.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Avalonia.Input/KeyGesture.cs b/src/Avalonia.Input/KeyGesture.cs index 7bf0fe6b70..490c31bef9 100644 --- a/src/Avalonia.Input/KeyGesture.cs +++ b/src/Avalonia.Input/KeyGesture.cs @@ -14,7 +14,7 @@ namespace Avalonia.Input { private static readonly Dictionary s_keySynonyms = new Dictionary { - { "+", Key.OemPlus }, { "-", Key.OemMinus }, { ".", Key.OemPeriod } + { "+", Key.OemPlus }, { "-", Key.OemMinus }, { ".", Key.OemPeriod }, { ",", Key.OemComma } }; [Obsolete("Use constructor taking KeyModifiers")] @@ -164,4 +164,4 @@ namespace Avalonia.Input } } } -} \ No newline at end of file +}