Scrolling text may leave artifacts when a pixel is populated at trailing edge of graphic #50
Labels
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
The
endText
function has the capability to scroll the printed text. In order to avoid leaving behind artifacts on the display while scrolling, the library must clear the pixels at the previous location of the text after each frame of the scrolling animation.🐛 Artifacts are left behind in the matrix when scrolling text under any of the following sets of conditions:
SCROLL_LEFT
)- OR -
SCROLL_UP
).- OR -
SCROLL_DOWN
).Here you can see the problem as it occurs with the
#
character andSCROLL_LEFT
:https://youtu.be/Eh01f96-NjY
To reproduce
SCROLL_LEFT
🐛 A trail of artifacts is left on the display.
SCROLL_UP
🐛 A trail of artifacts is left on the display for each character in the string.
SCROLL_DOWN
🐛 Although trail clearing works correctly for the first character, trail of artifacts is left on the display for each additional character in the string.
Expected behavior
Artifacts are not left behind on display when scrolling text.
ArduinoGraphics version
589b622
Display Library
Any
Verified with:
Additional context
Test/investigatory code:
The text was updated successfully, but these errors were encountered: