Fix. If setting "Show numbers on a separate row" is turned ON, small top special characters are not displayed for numeric keyboard
This commit is contained in:
parent
57b34876f0
commit
e74c76b59f
1 changed files with 1 additions and 1 deletions
|
@ -598,7 +598,7 @@ class MyKeyboardView @JvmOverloads constructor(context: Context, attrs: Attribut
|
|||
label, (key.width / 2).toFloat(), key.height / 2 + (paint.textSize - paint.descent()) / 2, paint
|
||||
)
|
||||
|
||||
if (key.topSmallNumber.isNotEmpty() && !context.config.showNumbersRow) {
|
||||
if (key.topSmallNumber.isNotEmpty() && !(context.config.showNumbersRow && Regex("\\d").matches(key.topSmallNumber))) {
|
||||
canvas.drawText(key.topSmallNumber, key.width - mTopSmallNumberMarginWidth, mTopSmallNumberMarginHeight, smallLetterPaint)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue