Scroll to the top when changing screens
This commit is contained in:
parent
7ae84d768e
commit
096f9981d1
@ -398,6 +398,7 @@ uint8_t lcdDrawUpdate = LCDVIEW_CLEAR_CALL_REDRAW; // Set when the LCD needs to
|
|||||||
if (currentScreen != screen) {
|
if (currentScreen != screen) {
|
||||||
currentScreen = screen;
|
currentScreen = screen;
|
||||||
lcdDrawUpdate = LCDVIEW_CLEAR_CALL_REDRAW;
|
lcdDrawUpdate = LCDVIEW_CLEAR_CALL_REDRAW;
|
||||||
|
encoderTopLine = 0;
|
||||||
#if ENABLED(NEWPANEL)
|
#if ENABLED(NEWPANEL)
|
||||||
encoderPosition = encoder;
|
encoderPosition = encoder;
|
||||||
if (feedback) lcd_quick_feedback();
|
if (feedback) lcd_quick_feedback();
|
||||||
|
Loading…
Reference in New Issue
Block a user