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:
Mikael Degerfält 2019-06-23 21:28:35 +02:00
parent 7a2b70c38d
commit 9561556302
2 changed files with 35 additions and 42 deletions

View file

@ -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);