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)
452
452
stroke (_textR, _textG, _textB);
453
453
454
454
if (scrollDirection == SCROLL_LEFT) {
455
- int scrollLength = _textBuffer.length () * textFontWidth () + _textX;
455
+ int scrollLength = _textBuffer.length () * textFontWidth () + _textX + 1 ;
456
456
457
457
for (int i = 0 ; i < scrollLength; i++) {
458
458
beginDraw ();
@@ -476,7 +476,7 @@ void ArduinoGraphics::endText(int scrollDirection)
476
476
delay (_textScrollSpeed);
477
477
}
478
478
} else if (scrollDirection == SCROLL_UP) {
479
- int scrollLength = textFontHeight () + _textY;
479
+ int scrollLength = textFontHeight () + _textY + 1 ;
480
480
481
481
for (int i = 0 ; i < scrollLength; i++) {
482
482
beginDraw ();
You can’t perform that action at this time.
0 commit comments