Explorar el Código

Fix ExtUI automatic font scaling (#18377)

RudolphRiedel hace 4 años
padre
commit
e65e2f33f1
No account linked to committer's email address

+ 1
- 1
Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/ftdi_eve_lib/extended/command_processor.h Ver fichero

315
       #ifdef TOUCH_UI_USE_UTF8
315
       #ifdef TOUCH_UI_USE_UTF8
316
         const bool is_utf8 = has_utf8_chars(text);
316
         const bool is_utf8 = has_utf8_chars(text);
317
       #endif
317
       #endif
318
-      for (;font >= 26;) {
318
+      for (;font > 26;) {
319
         int16_t width, height;
319
         int16_t width, height;
320
         #ifdef TOUCH_UI_USE_UTF8
320
         #ifdef TOUCH_UI_USE_UTF8
321
           if (is_utf8) {
321
           if (is_utf8) {

Loading…
Cancelar
Guardar