mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-04-20 14:19:08 +00:00
add comma key popups for number layouts
(for phone layouts it's on period because there is no comma key) fixes #823
This commit is contained in:
parent
d171c6b3c6
commit
af636badab
4 changed files with 7 additions and 7 deletions
|
@ -19,15 +19,15 @@
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
{ "$": "variation_selector",
|
{ "$": "variation_selector",
|
||||||
"default": { "label": ",", "type": "numeric" },
|
"default": { "label": ",", "type": "numeric", "groupId": 1 },
|
||||||
"date": { "label": ".", "type": "numeric" },
|
"date": { "label": ".", "type": "numeric", "groupId": 1 },
|
||||||
"time": { "label": ".", "type": "numeric", "popup": { "relevant": [
|
"time": { "label": ".", "type": "numeric", "groupId": 1, "popup": { "relevant": [
|
||||||
{ "label": "!fixedColumnOrder!2" },
|
{ "label": "!fixedColumnOrder!2" },
|
||||||
{ "label": "!hasLabels!" },
|
{ "label": "!hasLabels!" },
|
||||||
{ "label": "AM" },
|
{ "label": "AM" },
|
||||||
{ "label": "PM" }
|
{ "label": "PM" }
|
||||||
] } },
|
] } },
|
||||||
"datetime": { "label": ".", "type": "numeric", "popup": { "relevant": [
|
"datetime": { "label": ".", "type": "numeric", "groupId": 1, "popup": { "relevant": [
|
||||||
{ "label": "!fixedColumnOrder!2" },
|
{ "label": "!fixedColumnOrder!2" },
|
||||||
{ "label": "!hasLabels!" },
|
{ "label": "!hasLabels!" },
|
||||||
{ "label": "AM" },
|
{ "label": "AM" },
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
[
|
[
|
||||||
{ "label": "*#|!code/key_switch_alpha_symbol", "type": "numeric", "labelFlags": 524432 },
|
{ "label": "*#|!code/key_switch_alpha_symbol", "type": "numeric", "labelFlags": 524432 },
|
||||||
{ "label": "0 +|0", "type": "numeric", "popup": { "relevant": [ { "label": "!noPanelAutoPopupKey!" }, { "label": "+" } ] } },
|
{ "label": "0 +|0", "type": "numeric", "popup": { "relevant": [ { "label": "!noPanelAutoPopupKey!" }, { "label": "+" } ] } },
|
||||||
{ "label": ".", "type": "numeric", "labelFlags": 64 },
|
{ "label": ".", "type": "numeric", "labelFlags": 64, "groupId": 1 },
|
||||||
{ "label": "action" }
|
{ "label": "action" }
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
[
|
[
|
||||||
{ "label": "123|!code/key_switch_alpha_symbol", "type": "numeric", "labelFlags": 524432 },
|
{ "label": "123|!code/key_switch_alpha_symbol", "type": "numeric", "labelFlags": 524432 },
|
||||||
{ "label": "+", "type": "numeric" },
|
{ "label": "+", "type": "numeric" },
|
||||||
{ "label": ".", "type": "numeric" },
|
{ "label": ".", "type": "numeric", "groupId": 1 },
|
||||||
{ "label": "action" }
|
{ "label": "action" }
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
|
|
@ -119,7 +119,7 @@ sealed interface KeyData : AbstractKeyData {
|
||||||
keys.add("!icon/clipboard_normal_key|!code/key_clipboard")
|
keys.add("!icon/clipboard_normal_key|!code/key_clipboard")
|
||||||
if (!params.mId.mEmojiKeyEnabled && !params.mId.isNumberLayout)
|
if (!params.mId.mEmojiKeyEnabled && !params.mId.isNumberLayout)
|
||||||
keys.add("!icon/emoji_normal_key|!code/key_emoji")
|
keys.add("!icon/emoji_normal_key|!code/key_emoji")
|
||||||
if (!params.mId.mLanguageSwitchKeyEnabled)
|
if (!params.mId.mLanguageSwitchKeyEnabled && !params.mId.isNumberLayout)
|
||||||
keys.add("!icon/language_switch_key|!code/key_language_switch")
|
keys.add("!icon/language_switch_key|!code/key_language_switch")
|
||||||
if (!params.mId.mOneHandedModeEnabled)
|
if (!params.mId.mOneHandedModeEnabled)
|
||||||
keys.add("!icon/start_onehanded_mode_key|!code/key_start_onehanded")
|
keys.add("!icon/start_onehanded_mode_key|!code/key_start_onehanded")
|
||||||
|
|
Loading…
Add table
Reference in a new issue