Bläddra i källkod

Fix ExtUI automatic font scaling (#18377)

RudolphRiedel 4 år sedan
förälder
incheckning
e65e2f33f1
Inget konto är kopplat till bidragsgivarens mejladress

+ 1
- 1
Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/ftdi_eve_lib/extended/command_processor.h Visa fil

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

Laddar…
Avbryt
Spara