No need to set text color all the time
Since the cursor blinking is handled a bit differently now, there is no need to set text color all the time since we know it should always be white. But just to be certain, lets set it to WHITE first thing in the updatePage function. Also moved the code from plotMIDI into a custom render function for midi sub menu.
This commit is contained in:
parent
7a2b70c38d
commit
9561556302
2 changed files with 35 additions and 42 deletions
|
@ -130,7 +130,6 @@ static void drawAdjustBase(const char* title, bool all) {
|
|||
display.drawLine(120,36,120,40,WHITE);
|
||||
|
||||
display.setTextSize(1);
|
||||
display.setTextColor(WHITE);
|
||||
display.setCursor(25,2);
|
||||
display.println(title);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue