Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
Reverses 36c89b2
Browse files Browse the repository at this point in the history
  • Loading branch information
netonjm committed Feb 22, 2022
1 parent d82032a commit cd74c28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Xwt.XamMac/Xwt.Mac/KeyboardUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ static Key GetXwtKey (NSEvent keyEvent, out NSEventModifierMask modMask)
// 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;
Expand Down

0 comments on commit cd74c28

Please sign in to comment.