|
@@ -809,10 +809,13 @@ void MarlinUI::update() {
|
809
|
809
|
#if HAS_LCD_MENU && ENABLED(SCROLL_LONG_FILENAMES)
|
810
|
810
|
// If scrolling of long file names is enabled and we are in the sd card menu,
|
811
|
811
|
// cause a refresh to occur until all the text has scrolled into view.
|
812
|
|
- if (currentScreen == menu_sdcard && filename_scroll_pos < filename_scroll_max && !lcd_status_update_delay--) {
|
813
|
|
- lcd_status_update_delay = 6;
|
|
812
|
+ if (currentScreen == menu_sdcard && !lcd_status_update_delay--) {
|
|
813
|
+ lcd_status_update_delay = 4;
|
|
814
|
+ if (++filename_scroll_pos > filename_scroll_max) {
|
|
815
|
+ filename_scroll_pos = 0;
|
|
816
|
+ lcd_status_update_delay = 12;
|
|
817
|
+ }
|
814
|
818
|
refresh(LCDVIEW_REDRAW_NOW);
|
815
|
|
- filename_scroll_pos++;
|
816
|
819
|
#if LCD_TIMEOUT_TO_STATUS
|
817
|
820
|
return_to_status_ms = ms + LCD_TIMEOUT_TO_STATUS;
|
818
|
821
|
#endif
|