Move menu selection past static items in 1 screen

This commit is contained in:
Scott Lahteine 2017-02-18 03:40:26 -06:00
parent 2c630a1b5c
commit 77cf648ed3

View File

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