diff --git a/java/src/org/futo/inputmethod/v2keyboard/LayoutEngine.kt b/java/src/org/futo/inputmethod/v2keyboard/LayoutEngine.kt index 6411848a2..18de08aea 100644 --- a/java/src/org/futo/inputmethod/v2keyboard/LayoutEngine.kt +++ b/java/src/org/futo/inputmethod/v2keyboard/LayoutEngine.kt @@ -524,7 +524,7 @@ data class LayoutEngine( hitBox = Rect( x - (leftGap?.widthPx?.roundToInt() ?: 0), y, - x + width + (leftGap?.widthPx?.roundToInt() ?: 0) + (rightGap?.widthPx?.roundToInt() ?: 0), + x + width + (rightGap?.widthPx?.roundToInt() ?: 0), y + height ), )