Browse Source

Move menu selection past static items in 1 screen

pull/1/head
Scott Lahteine 8 years ago
parent
commit
77cf648ed3
  1. 4
      Marlin/ultralcd.cpp

4
Marlin/ultralcd.cpp

@ -339,7 +339,7 @@ uint16_t max_display_update_time = 0;
if (_menuLineNr == _thisItemNr) { \ if (_menuLineNr == _thisItemNr) { \
if (_skipStatic && encoderLine <= _thisItemNr) { \ if (_skipStatic && encoderLine <= _thisItemNr) { \
encoderPosition += ENCODER_STEPS_PER_MENU_ITEM; \ encoderPosition += ENCODER_STEPS_PER_MENU_ITEM; \
lcdDrawUpdate = LCDVIEW_CALL_REDRAW_NEXT; \ ++encoderLine; \
} \ } \
if (lcdDrawUpdate) \ if (lcdDrawUpdate) \
lcd_implementation_drawmenu_static(_lcdLineNr, PSTR(LABEL), ## __VA_ARGS__); \ lcd_implementation_drawmenu_static(_lcdLineNr, PSTR(LABEL), ## __VA_ARGS__); \
@ -2621,7 +2621,7 @@ KeepDrawing:
lcd_implementation_hotend_status(_lcdLineNr); \ lcd_implementation_hotend_status(_lcdLineNr); \
if (_skipStatic && encoderLine <= _thisItemNr) { \ if (_skipStatic && encoderLine <= _thisItemNr) { \
encoderPosition += ENCODER_STEPS_PER_MENU_ITEM; \ encoderPosition += ENCODER_STEPS_PER_MENU_ITEM; \
lcdDrawUpdate = LCDVIEW_CALL_REDRAW_NEXT; \ ++encoderLine; \
} \ } \
else \ else \
lcdDrawUpdate = LCDVIEW_CALL_NO_REDRAW; \ lcdDrawUpdate = LCDVIEW_CALL_NO_REDRAW; \

Loading…
Cancel
Save