Browse Source

Redraw after cursor correction in STATIC_ITEM

Scott Lahteine 9 years ago
parent
commit
5051723c2e
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      Marlin/ultralcd.cpp

+ 3
- 1
Marlin/ultralcd.cpp View File

@@ -282,8 +282,10 @@ uint8_t lcdDrawUpdate = LCDVIEW_CLEAR_CALL_REDRAW; // Set when the LCD needs to
282 282
   // Used to print static text with no visible cursor.
283 283
   #define STATIC_ITEM(label, args...) \
284 284
     if (_menuItemNr == _lineNr) { \
285
-      if (encoderLine == _menuItemNr && _menuItemNr < LCD_HEIGHT - 1) \
285
+      if (encoderLine == _menuItemNr && _menuItemNr < LCD_HEIGHT - 1) { \
286 286
         encoderPosition += ENCODER_STEPS_PER_MENU_ITEM; \
287
+        lcdDrawUpdate = LCDVIEW_CALL_REDRAW_NEXT; \
288
+      } \
287 289
       if (lcdDrawUpdate) \
288 290
         lcd_implementation_drawmenu_static(_drawLineNr, PSTR(label), ## args); \
289 291
     } \

Loading…
Cancel
Save