Skip to content

Commit e2b16ef

Browse files
authored
Merge pull request #72 from peekpt/master
fix:in selected row value text and background color were the same
2 parents ffddf6e + 0fe1435 commit e2b16ef

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/U8GLib_menu/U8GLib_menu.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Extensible: Yes
2323

2424
U8GLIB_PCD8544 u8g(U8_CS, U8_DC, U8_RST) ;
2525

26-
menuU8G gfx(u8g,1,0,1,1,7,9);
26+
menuU8G gfx(u8g,1,0,1,1,1,0,7,9);
2727

2828
bool runMenu=true;
2929

src/menuU8G.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ www.r-site.net
4949
hiliteColor(hiliteColor),
5050
enabledColorHi(bgColor),
5151
disabledColorHi(bgColor),
52-
valueColor(enabledColor),
53-
valueColorHi(enabledColor),
52+
valueColor(valueColor),
53+
valueColorHi(valueColorHi),
5454
menuOut(gfx.getWidth()/resX,gfx.getHeight()/resY,resX,resY)
5555
{
5656
// Small typefaces used to draw the menu, do not forget to report resX and resY

0 commit comments

Comments
 (0)