Browse Source
Merge branch 'master' into fixes/extend-to-client-area
pull/4336/head
danwalmsley
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
0 deletions
-
src/Avalonia.Native/OsxUnicodeKeys.cs
|
|
|
@ -140,6 +140,11 @@ namespace Avalonia.Native.Interop |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
if (key >= Key.D0 && key <= Key.D9) |
|
|
|
{ |
|
|
|
return key.ToString().Replace("D", ""); |
|
|
|
} |
|
|
|
|
|
|
|
return key.ToString().ToLower(); |
|
|
|
} |
|
|
|
} |
|
|
|
|