mirror of
				https://github.com/AquaMorph/Droplets.git
				synced 2025-10-30 16:13:20 +00:00 
			
		
		
		
	Select bar fills the screen
This commit is contained in:
		| @@ -74,6 +74,7 @@ void CreateMenuItem(std::string text, int position, bool highlighted) { | |||||||
|   text.insert(text.end(), MAX_CHAR_LENGTH-text.size(), ' '); |   text.insert(text.end(), MAX_CHAR_LENGTH-text.size(), ' '); | ||||||
|   patch.display.SetCursor(MENU_X[position-1], MENU_Y[position-1]); |   patch.display.SetCursor(MENU_X[position-1], MENU_Y[position-1]); | ||||||
|   if (highlighted) { |   if (highlighted) { | ||||||
|  |     DrawSolidRect(0, MENU_Y[2], SSD1309_WIDTH, MENU_Y[2]+17, true); | ||||||
|     patch.display.WriteString(cstr, Font_11x18, !highlighted); |     patch.display.WriteString(cstr, Font_11x18, !highlighted); | ||||||
|   } else { |   } else { | ||||||
|     patch.display.WriteString(cstr, Font_7x10, !highlighted); |     patch.display.WriteString(cstr, Font_7x10, !highlighted); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user