keyboard: Fix JS warning
The solution is pointed out by the warning itself.
This commit is contained in:
parent
ace44af815
commit
545d49c70d
@ -278,7 +278,7 @@ var Key = class Key {
|
||||
}
|
||||
|
||||
_getKeyval(key) {
|
||||
let unicode = String.charCodeAt(key, 0);
|
||||
let unicode = key.charCodeAt(0);
|
||||
return Clutter.unicode_to_keysym(unicode);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user