File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -452,7 +452,7 @@ void ArduinoGraphics::endText(int scrollDirection)
452452 stroke (_textR, _textG, _textB);
453453
454454 if (scrollDirection == SCROLL_LEFT) {
455- int scrollLength = _textBuffer.length () * textFontWidth () + _textX;
455+ int scrollLength = _textBuffer.length () * textFontWidth () + _textX + 1 ;
456456
457457 for (int i = 0 ; i < scrollLength; i++) {
458458 beginDraw ();
@@ -476,7 +476,7 @@ void ArduinoGraphics::endText(int scrollDirection)
476476 delay (_textScrollSpeed);
477477 }
478478 } else if (scrollDirection == SCROLL_UP) {
479- int scrollLength = textFontHeight () + _textY;
479+ int scrollLength = textFontHeight () + _textY + 1 ;
480480
481481 for (int i = 0 ; i < scrollLength; i++) {
482482 beginDraw ();
You can’t perform that action at this time.
0 commit comments