Skip to content

Commit

Permalink
Hotfix to make characters lowercase. A proper fix of the problem will…
Browse files Browse the repository at this point in the history
… follow...
  • Loading branch information
fabian-marquardt committed Oct 31, 2018
1 parent 8468d90 commit c913a42
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions src/app/utils/keycodes.ts
Expand Up @@ -28,35 +28,35 @@ export class KeyCodeMap {
103: '7',
104: '8',
105: '9',
65: 'A',
66: 'B',
67: 'C',
68: 'D',
69: 'E',
70: 'F',
71: 'G',
72: 'H',
73: 'I',
74: 'J',
75: 'K',
76: 'L',
77: 'M',
78: 'N',
79: 'O',
80: 'P',
81: 'Q',
82: 'R',
83: 'S',
84: 'T',
85: 'U',
86: 'V',
87: 'W',
88: 'X',
89: 'Y',
90: 'Z',
65: 'a',
66: 'b',
67: 'c',
68: 'd',
69: 'e',
70: 'f',
71: 'g',
72: 'h',
73: 'i',
74: 'j',
75: 'k',
76: 'l',
77: 'm',
78: 'n',
79: 'o',
80: 'p',
81: 'q',
82: 'r',
83: 's',
84: 't',
85: 'u',
86: 'v',
87: 'w',
88: 'x',
89: 'y',
90: 'z',
}

static getLiteral(key: number): string{
return KeyCodeMap._key_codes[key];
}
}
}

0 comments on commit c913a42

Please sign in to comment.