Set the low color to be the same as the view color, otherwise

antialiased text won't work correctly (for example when you set a dark 
color).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23071 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2007-12-06 21:17:46 +00:00
parent 46f29e60b4
commit 9b95b879f7

View File

@ -117,7 +117,8 @@ MenuBar::Update()
font.SetSize(info.font_size);
SetFont(&font);
SetViewColor(info.background_color);
SetLowColor(ViewColor());
// force the menu to redraw
InvalidateLayout();
Invalidate();