diff options
| author | Jules Aguillon | 2022-03-06 19:36:09 +0100 |
|---|---|---|
| committer | Jules Aguillon | 2022-03-06 19:36:09 +0100 |
| commit | 534e4cb84323edfcc7bab969548b1baeba0018ee (patch) | |
| tree | 74a816b7620753cd4aa472163be7889097ecac02 /srcs/juloo.keyboard2/Config.java | |
| parent | e303008e666c129caf886ea27ab840e2cc2322c5 (diff) | |
| download | unexpected-keyboard-534e4cb84323edfcc7bab969548b1baeba0018ee.tar.gz unexpected-keyboard-534e4cb84323edfcc7bab969548b1baeba0018ee.zip | |
Make the font smaller for the action key
Diffstat (limited to 'srcs/juloo.keyboard2/Config.java')
| -rw-r--r-- | srcs/juloo.keyboard2/Config.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java index cd9629a..0af2de9 100644 --- a/srcs/juloo.keyboard2/Config.java +++ b/srcs/juloo.keyboard2/Config.java @@ -134,9 +134,9 @@ final class Config */ public KeyboardData modify_layout(KeyboardData kw) { + // Update the name to avoid caching in KeyModifier KeyValue action_key = (actionLabel == null) ? null : - new KeyValue(actionLabel, actionLabel, KeyValue.CHAR_NONE, - KeyValue.EVENT_ACTION, KeyValue.FLAG_NOREPEAT); + KeyValue.getKeyByName("action").withNameAndSymbol(actionLabel, actionLabel); return kw.replaceKeys(key -> { if (key == null) return null; |
