From 9b95b879f7f8d5605665b3d6527dfe56b94eb9c0 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Thu, 6 Dec 2007 21:17:46 +0000 Subject: [PATCH] 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 --- src/preferences/menu/MenuBar.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/preferences/menu/MenuBar.cpp b/src/preferences/menu/MenuBar.cpp index c30026488a..7b448bd342 100644 --- a/src/preferences/menu/MenuBar.cpp +++ b/src/preferences/menu/MenuBar.cpp @@ -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();