Browse Source

Move menu selection past static items in 1 screen

Scott Lahteine 8 years ago
parent
commit
77cf648ed3
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/ultralcd.cpp

+ 2
- 2
Marlin/ultralcd.cpp View File

339
     if (_menuLineNr == _thisItemNr) { \
339
     if (_menuLineNr == _thisItemNr) { \
340
       if (_skipStatic && encoderLine <= _thisItemNr) { \
340
       if (_skipStatic && encoderLine <= _thisItemNr) { \
341
         encoderPosition += ENCODER_STEPS_PER_MENU_ITEM; \
341
         encoderPosition += ENCODER_STEPS_PER_MENU_ITEM; \
342
-        lcdDrawUpdate = LCDVIEW_CALL_REDRAW_NEXT; \
342
+        ++encoderLine; \
343
       } \
343
       } \
344
       if (lcdDrawUpdate) \
344
       if (lcdDrawUpdate) \
345
         lcd_implementation_drawmenu_static(_lcdLineNr, PSTR(LABEL), ## __VA_ARGS__); \
345
         lcd_implementation_drawmenu_static(_lcdLineNr, PSTR(LABEL), ## __VA_ARGS__); \
2621
         lcd_implementation_hotend_status(_lcdLineNr); \
2621
         lcd_implementation_hotend_status(_lcdLineNr); \
2622
         if (_skipStatic && encoderLine <= _thisItemNr) { \
2622
         if (_skipStatic && encoderLine <= _thisItemNr) { \
2623
           encoderPosition += ENCODER_STEPS_PER_MENU_ITEM; \
2623
           encoderPosition += ENCODER_STEPS_PER_MENU_ITEM; \
2624
-          lcdDrawUpdate = LCDVIEW_CALL_REDRAW_NEXT; \
2624
+          ++encoderLine; \
2625
         } \
2625
         } \
2626
         else \
2626
         else \
2627
           lcdDrawUpdate = LCDVIEW_CALL_NO_REDRAW; \
2627
           lcdDrawUpdate = LCDVIEW_CALL_NO_REDRAW; \

Loading…
Cancel
Save