1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-26 18:58:21 +02:00
Helmut K. C. Tessarek 340312fa80
Desktop: Fix handling of certain keys in shortcut editor (#4022)
String.fromCharCode expects unicode charcodes as an argument; e.keyCode returns javascript keycodes.
Javascript keycodes and unicode charcodes are not the same thing!

Therefore I used an array to map keycodes. This seems to be the only way to make this work properly.

I also changed the width of the shortcut recorder input field to 200px, since certain key combinations are cut off, because they don't fit in the field.
2020-11-12 18:40:00 +00:00
..
2020-11-05 16:58:23 +00:00
2020-11-05 16:58:23 +00:00
2020-11-05 16:58:23 +00:00
2020-11-05 16:58:23 +00:00
2020-11-05 16:58:23 +00:00
2020-11-11 12:52:37 +00:00
2020-11-11 12:52:37 +00:00
2020-11-05 16:58:23 +00:00

@joplin/app-desktop

TODO: description

Usage

const appDesktop = require('@joplin/app-desktop');

// TODO: DEMONSTRATE API