Fixed normal bug EXT-637 (Please, add tooltips with a full names of the landmraks in the Favor bar / Overflow menu)

Fixed problem with overlapping of tool tip by menu.

--HG--
branch : product-engine
meow-7.2.2
Sergey Borushevsky 2009-12-18 00:45:35 +02:00
parent de3c63c339
commit 78d48def6b
1 changed files with 6 additions and 0 deletions

View File

@ -438,6 +438,12 @@ void init_menus()
// menu holder appears on top of menu bar so you can see the menu title
// flash when an item is triggered (the flash occurs in the holder)
gViewerWindow->getRootView()->addChild(gMenuHolder);
// This removes tool tip view from main view and adds it
// to root view in front of menu holder.
// Otherwise tool tips for menu items would be overlapped by menu, since
// main view is behind of menu holder now.
gViewerWindow->getRootView()->addChild(gToolTipView);
gViewerWindow->setMenuBackgroundColor(false,
LLViewerLogin::getInstance()->isInProductionGrid());