-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
While creating the menu, I encountered an error where the text created before the button is cleared on the display.
Steps to reproduce:
- Add a call to the method
ui->drawString(...). - Add a call to the method
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:
- FireBeetle 2 ESP32-E (DFR0654-F)
- Fermion: 3.5” 480x320 TFT LCD (DFR0669)
- PlatformIO
Questions:
- What is the purpose of this code?
- This fragment of code is necessary?
The code fragment responsible for this logic:
DFRobot_GDL/src/DFRobot_UI.cpp
Lines 350 to 354 in 8b22fa9
| static uint8_t count = 1; | |
| if(count == 1 ){ | |
| _gdl->fillRect(0, 0, lcdWidth, lcdHeight, bgColor); | |
| count ++; | |
| } |
Metadata
Metadata
Assignees
Labels
No labels