1
0
Fork 0

regression: fixed the font size of the 0-key in 123 mode

This commit is contained in:
sspanak 2025-04-22 17:47:53 +03:00 committed by Dimo Karaivanov
parent 4220bda614
commit 77bbae05d1

View file

@ -74,12 +74,12 @@ public class SoftKeyNumber0 extends SoftKeyNumber {
@Override
protected float getTitleScale() {
if (isBopomofo()) {
return super.getTitleScale() * TITLE_SCALE_BOPOMOFO;
if (isKorean() || (tt9 != null && tt9.isInputModeNumeric())) {
return super.getTitleScale();
}
if (isKorean()) {
return super.getTitleScale();
if (isBopomofo()) {
return super.getTitleScale() * TITLE_SCALE_BOPOMOFO;
}
// scale up the space character, because it is too small