Add a small hack to fix the invalidation glitches in the menu bar when resizing

the window.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@453 94f232f2-1747-11df-bad5-a5bfde151594
This commit is contained in:
stippi
2012-07-03 15:43:40 +02:00
committed by Alexandre Deckner
parent fa485bda23
commit 88b25a7da9
+4
View File
@@ -342,6 +342,10 @@ BrowserWindow::BrowserWindow(BRect frame, SettingsMessage* appSettings,
.Add(statusGroup)
);
// TODO: Small hack for fixing some invalidation problems with BMenuBar...
mainMenu->SetFlags(mainMenu->Flags() | B_FULL_UPDATE_ON_RESIZE);
mainMenu->SetViewColor(B_TRANSPARENT_COLOR);
fURLInputGroup->MakeFocus(true);
fMenuGroup = layoutItemFor(mainMenu);