diff options
| author | Jules Aguillon | 2022-01-09 12:47:47 +0100 |
|---|---|---|
| committer | Jules Aguillon | 2022-01-09 12:47:47 +0100 |
| commit | 23e59c6b09fdaecc92ae67ee7c5c2936f161696a (patch) | |
| tree | e91f28385801b1a19da774fe2b4e096e8757a433 /srcs/juloo.keyboard2/Keyboard2View.java | |
| parent | 2764e96eb1e6c40a1c3e96f52f9a08877cead8a9 (diff) | |
| download | unexpected-keyboard-23e59c6b09fdaecc92ae67ee7c5c2936f161696a.tar.gz unexpected-keyboard-23e59c6b09fdaecc92ae67ee7c5c2936f161696a.zip | |
Allow to hide more keys than just accents
Add the "FLAGS_LANGS" set of flags, which will be used to hide
individual keys that are not accents.
Diffstat (limited to 'srcs/juloo.keyboard2/Keyboard2View.java')
| -rw-r--r-- | srcs/juloo.keyboard2/Keyboard2View.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/srcs/juloo.keyboard2/Keyboard2View.java b/srcs/juloo.keyboard2/Keyboard2View.java index 603984d..d0b1a6d 100644 --- a/srcs/juloo.keyboard2/Keyboard2View.java +++ b/srcs/juloo.keyboard2/Keyboard2View.java @@ -61,8 +61,8 @@ public class Keyboard2View extends View { if (!_config.shouldOfferSwitchingToNextInputMethod) kw = kw.removeKeys(new KeyboardData.RemoveKeysByEvent(KeyValue.EVENT_CHANGE_METHOD)); - if (_config.accent_flags_to_remove != 0) - kw = kw.removeKeys(new KeyboardData.RemoveKeysByFlags(_config.accent_flags_to_remove)); + if (_config.key_flags_to_remove != 0) + kw = kw.removeKeys(new KeyboardData.RemoveKeysByFlags(_config.key_flags_to_remove)); _keyboard = kw; reset(); } |
