@@ -436,7 +436,9 @@ void ArduinoGraphics::endText(int scrollDirection)
436
436
437
437
for (int i = 0 ; i < scrollLength; i++) {
438
438
beginDraw ();
439
- text (_textBuffer, _textX - i, _textY);
439
+ int const text_x = _textX - i;
440
+ text (_textBuffer, text_x, _textY);
441
+ bitmap (_font->data [0x20 ], text_x - 1 , _textY, 1 , _font->height );
440
442
endDraw ();
441
443
442
444
delay (_textScrollSpeed);
@@ -446,7 +448,9 @@ void ArduinoGraphics::endText(int scrollDirection)
446
448
447
449
for (int i = 0 ; i < scrollLength; i++) {
448
450
beginDraw ();
449
- text (_textBuffer, _textX - (scrollLength - i - 1 ), _textY);
451
+ int const text_x = _textX - (scrollLength - i - 1 );
452
+ text (_textBuffer, text_x, _textY);
453
+ bitmap (_font->data [0x20 ], text_x - 1 , _textY, 1 , _font->height );
450
454
endDraw ();
451
455
452
456
delay (_textScrollSpeed);
@@ -456,7 +460,9 @@ void ArduinoGraphics::endText(int scrollDirection)
456
460
457
461
for (int i = 0 ; i < scrollLength; i++) {
458
462
beginDraw ();
459
- text (_textBuffer, _textX, _textY - i);
463
+ int const text_y = _textY - i;
464
+ text (_textBuffer, _textX, text_y);
465
+ bitmap (_font->data [0x20 ], _textX, text_y - 1 , _font->width , 1 );
460
466
endDraw ();
461
467
462
468
delay (_textScrollSpeed);
@@ -466,7 +472,9 @@ void ArduinoGraphics::endText(int scrollDirection)
466
472
467
473
for (int i = 0 ; i < scrollLength; i++) {
468
474
beginDraw ();
469
- text (_textBuffer, _textX, _textY - (scrollLength - i - 1 ));
475
+ int const text_y = _textY - (scrollLength - i - 1 );
476
+ text (_textBuffer, _textX, text_y);
477
+ bitmap (_font->data [0x20 ], _textX, text_y - 1 , _font->width , 1 );
470
478
endDraw ();
471
479
472
480
delay (_textScrollSpeed);
0 commit comments