From 97dd9d9e3f1933824c2a04b4de2025026ec2e62f Mon Sep 17 00:00:00 2001 From: Christian Colglazier Date: Mon, 27 Jul 2020 14:57:11 -0400 Subject: [PATCH] Select bar fills the screen --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cpp b/src/main.cpp index 4268258..f11fbf0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -74,6 +74,7 @@ void CreateMenuItem(std::string text, int position, bool highlighted) { text.insert(text.end(), MAX_CHAR_LENGTH-text.size(), ' '); patch.display.SetCursor(MENU_X[position-1], MENU_Y[position-1]); if (highlighted) { + DrawSolidRect(0, MENU_Y[2], SSD1309_WIDTH, MENU_Y[2]+17, true); patch.display.WriteString(cstr, Font_11x18, !highlighted); } else { patch.display.WriteString(cstr, Font_7x10, !highlighted);