Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/xwt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Medrano <josmed@microsoft.com>2022-02-22 20:11:59 +0300
committerJose Medrano <josmed@microsoft.com>2022-02-22 20:23:17 +0300
commitac524e9deb535abf5f2100352adac4a8d8177c09 (patch)
treeb0dc588ed9b69cb8f40ac3950dc86418c78871aa
parent1996b07be73d9b6c80de30ad5a67e0b7057ec8d1 (diff)
Reverses 36c89b26f75bf820c831b684a5cc82498f646025keydown-fix
-rw-r--r--Xwt.XamMac/Xwt.Mac/KeyboardUtil.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xwt.XamMac/Xwt.Mac/KeyboardUtil.cs b/Xwt.XamMac/Xwt.Mac/KeyboardUtil.cs
index 0ce60994..909c8faa 100644
--- a/Xwt.XamMac/Xwt.Mac/KeyboardUtil.cs
+++ b/Xwt.XamMac/Xwt.Mac/KeyboardUtil.cs
@@ -128,7 +128,7 @@ namespace Xwt.Mac
// If you press the cmd+м on the keyboard, keyEvent.Characters contains a 'v' and keyEvent.CharactersIgnoringModifiers
// contains the м
// This way it can map cmd+м to paste like on a roman keyboard.
- var characters = keyEvent.Characters;
+ var characters = keyEvent.CharactersIgnoringModifiers;
if (characters.Length > 0)
switch (characters[0]) {
case 'A': return Key.a;