Fix most major keyboard bugs

This commit is contained in:
Pk11
2021-08-30 16:22:57 -05:00
parent 015dc67fe1
commit 11b5df4219
5 changed files with 59 additions and 50 deletions
+1
View File
@@ -209,6 +209,7 @@ ITCM_CODE void Font::print(std::u16string_view text, int x, int y, Alignment ali
y += tileHeight;
}
SCALE_3DS(x);
x += ((sprite ? sprite->width() : 256) - (calcWidth(text) * scaleX)) / 2;
break;
}