|
|
@ -290,10 +290,11 @@ void MainScreen::draw() { |
|
|
|
|
|
|
|
// repeated drawing of the scrolling text...
|
|
|
|
|
|
|
|
titleStr_offset-=4; // scroll by one pixel
|
|
|
|
titleStr_offset-=2; // scroll by one pixel
|
|
|
|
if ( (u8g2_uint_t)titleStr_offset < (u8g2_uint_t)-width ) |
|
|
|
titleStr_offset = 0; // start over again
|
|
|
|
} else { |
|
|
|
|
|
|
|
} else { // don't scroll
|
|
|
|
u8g2.drawUTF8((u8g2.getDisplayWidth()-width)/2, 54, titleStr); |
|
|
|
} |
|
|
|
uint32_t buffFill = mp3.getBuffFill(); |
|
|
|