Skip to content

Commit

Permalink
Fix 5+1 keyboard layout bug (florisboard#1100)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickgold committed Aug 13, 2021
1 parent 689881f commit a356585
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ class TextKeyboardView : KeyboardView, SwipeGesture.Listener, GlideTypingGesture
isSmartbarKeyboardView -> {
measuredHeight
}
florisboard?.uiBinding?.inputView?.shouldGiveAdditionalSpace == true -> {
florisboard?.uiBinding?.inputView?.shouldGiveAdditionalSpace == true && keyboard.mode != KeyboardMode.CHARACTERS -> {
(measuredHeight / (keyboard.rowCount + 0.5f).coerceAtMost(5.0f)).toInt()
}
else -> {
Expand Down

0 comments on commit a356585

Please sign in to comment.