Skip to content

Commit

Permalink
Fix dropdown hover font colour
Browse files Browse the repository at this point in the history
  • Loading branch information
muchweb committed Mar 3, 2015
1 parent 5150e25 commit 34df650
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions contextmenu.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ void contextmenu_draw(void)
return;
}



int x, w, active_h;
calculate_pos_and_width(b, &x, &w);

Expand Down
2 changes: 1 addition & 1 deletion dropdown.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ void dropdown_drawactive(void)
STRING* e = b->ondisplay(j, b);
if(j == b->over) {
drawrectw(x + 1, y + 1, w - 2, h - 2, COLOR_ACTIVEOPTION_BACKGROUND);
setcolor(COLOR_MAIN_BACKGROUND);
setcolor(COLOR_ACTIVEOPTION_TEXT);
} else {
setcolor(COLOR_MAIN_TEXT);
}
Expand Down

0 comments on commit 34df650

Please sign in to comment.