Fix ExtUI automatic font scaling (#18377)
This commit is contained in:
parent
07966ea82b
commit
e65e2f33f1
|
@ -315,7 +315,7 @@ class CommandProcessor : public CLCD::CommandFifo {
|
||||||
#ifdef TOUCH_UI_USE_UTF8
|
#ifdef TOUCH_UI_USE_UTF8
|
||||||
const bool is_utf8 = has_utf8_chars(text);
|
const bool is_utf8 = has_utf8_chars(text);
|
||||||
#endif
|
#endif
|
||||||
for (;font >= 26;) {
|
for (;font > 26;) {
|
||||||
int16_t width, height;
|
int16_t width, height;
|
||||||
#ifdef TOUCH_UI_USE_UTF8
|
#ifdef TOUCH_UI_USE_UTF8
|
||||||
if (is_utf8) {
|
if (is_utf8) {
|
||||||
|
|
Loading…
Reference in a new issue