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:
parent
46f29e60b4
commit
9b95b879f7
@ -117,7 +117,8 @@ MenuBar::Update()
|
|||||||
font.SetSize(info.font_size);
|
font.SetSize(info.font_size);
|
||||||
SetFont(&font);
|
SetFont(&font);
|
||||||
SetViewColor(info.background_color);
|
SetViewColor(info.background_color);
|
||||||
|
SetLowColor(ViewColor());
|
||||||
|
|
||||||
// force the menu to redraw
|
// force the menu to redraw
|
||||||
InvalidateLayout();
|
InvalidateLayout();
|
||||||
Invalidate();
|
Invalidate();
|
||||||
|
Loading…
Reference in New Issue
Block a user