mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-02 12:54:27 +00:00
fix broken dvorak layout (and others), fixes #394
This commit is contained in:
parent
e86d87cc74
commit
acdbd18a55
1 changed files with 2 additions and 1 deletions
|
@ -82,6 +82,7 @@ abstract class KeyboardParser(private val params: KeyboardParams, private val co
|
|||
addNumberRowOrMoreKeys(baseKeys)
|
||||
if (params.mId.isAlphabetKeyboard)
|
||||
addSymbolMoreKeys(baseKeys)
|
||||
val bottomRow = getBottomRowAndAdjustBaseKeys(baseKeys) // not really fast, but irrelevant compared to the loop
|
||||
|
||||
val keysInRows = ArrayList<ArrayList<KeyParams>>()
|
||||
val functionalKeys = parseFunctionalKeys(R.string.key_def_functional)
|
||||
|
@ -169,7 +170,7 @@ abstract class KeyboardParser(private val params: KeyboardParams, private val co
|
|||
keysInRows.add(paramsRow)
|
||||
}
|
||||
resizeLastRowIfNecessaryForAlignment(keysInRows)
|
||||
keysInRows.add(getBottomRowAndAdjustBaseKeys(baseKeys)) // not really fast, but irrelevant compared to the loop
|
||||
keysInRows.add(bottomRow)
|
||||
if (params.mId.mNumberRowEnabled)
|
||||
keysInRows.add(0, getNumberRow())
|
||||
return keysInRows
|
||||
|
|
Loading…
Add table
Reference in a new issue