Open Metal-codes opened 3 months ago
While creating the menu, I encountered an error where the text created before the button is cleared on the display.
Steps to reproduce:
ui->drawString(...)
ui->draw(btn, ...)
Expected Behavior: The text added before the button should be displayed on the screen.
Actual Behavior: The text added before the button is cleared from the screen.
System information:
Questions:
The code fragment responsible for this logic: https://github.com/DFRobot/DFRobot_GDL/blob/8b22fa9b69ffb3e455fc0212300110c06da76ff4/src/DFRobot_UI.cpp#L350-L354
While creating the menu, I encountered an error where the text created before the button is cleared on the display.
Steps to reproduce:
ui->drawString(...)
.ui->draw(btn, ...)
.Expected Behavior: The text added before the button should be displayed on the screen.
Actual Behavior: The text added before the button is cleared from the screen.
System information:
Questions:
The code fragment responsible for this logic: https://github.com/DFRobot/DFRobot_GDL/blob/8b22fa9b69ffb3e455fc0212300110c06da76ff4/src/DFRobot_UI.cpp#L350-L354