Browse Source

Scroll to the top when changing screens

Scott Lahteine 9 years ago
parent
commit
096f9981d1
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      Marlin/ultralcd.cpp

+ 1
- 0
Marlin/ultralcd.cpp View File

@@ -398,6 +398,7 @@ uint8_t lcdDrawUpdate = LCDVIEW_CLEAR_CALL_REDRAW; // Set when the LCD needs to
398 398
     if (currentScreen != screen) {
399 399
       currentScreen = screen;
400 400
       lcdDrawUpdate = LCDVIEW_CLEAR_CALL_REDRAW;
401
+      encoderTopLine = 0;
401 402
       #if ENABLED(NEWPANEL)
402 403
         encoderPosition = encoder;
403 404
         if (feedback) lcd_quick_feedback();

Loading…
Cancel
Save