mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-03 13:20:31 +00:00
parent
31a8761bfa
commit
dbeddcd658
1 changed files with 3 additions and 1 deletions
|
@ -542,7 +542,9 @@ sealed interface KeyData : AbstractKeyData {
|
|||
// essentially the first term only changes the appearance of the armenian period key in holo theme
|
||||
KeyLabel.PERIOD -> (Key.LABEL_FLAGS_HAS_POPUP_HINT and
|
||||
if (params.mId.isAlphabetKeyboard) params.mLocaleKeyboardInfos.labelFlags else 0) or
|
||||
Key.LABEL_FLAGS_PRESERVE_CASE
|
||||
Key.LABEL_FLAGS_PRESERVE_CASE or
|
||||
// in functional_keys.json the label flag is already defined, let's not override it in case it's removed by the user
|
||||
if (!params.mId.isAlphaOrSymbolKeyboard && shouldShowTldPopups(params)) Key.LABEL_FLAGS_DISABLE_HINT_LABEL else 0
|
||||
KeyLabel.ACTION -> {
|
||||
Key.LABEL_FLAGS_PRESERVE_CASE or Key.LABEL_FLAGS_AUTO_X_SCALE or Key.LABEL_FLAGS_FOLLOW_KEY_LABEL_RATIO or
|
||||
Key.LABEL_FLAGS_HAS_POPUP_HINT or KeyboardTheme.getThemeActionAndEmojiKeyLabelFlags(params.mThemeId)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue