mirror of
https://github.com/AquaMorph/Droplets.git
synced 2025-04-30 09:45:35 +00:00
Select bar fills the screen
This commit is contained in:
parent
f060bed10f
commit
97dd9d9e3f
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user