summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermenu.cpp
diff options
context:
space:
mode:
authorSergey Borushevsky <sborushevsky@productengine.com>2009-12-18 00:45:35 +0200
committerSergey Borushevsky <sborushevsky@productengine.com>2009-12-18 00:45:35 +0200
commit78d48def6ba2e7c80f1da8949079a94d2d7374af (patch)
treef76eda9e813e9d4df46c1bcce281e378a493a670 /indra/newview/llviewermenu.cpp
parentde3c63c339e135f51a6075b9bf9dbca1398b4ac4 (diff)
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
Diffstat (limited to 'indra/newview/llviewermenu.cpp')
-rw-r--r--indra/newview/llviewermenu.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp
index dfa775c292..03a6b193dc 100644
--- a/indra/newview/llviewermenu.cpp
+++ b/indra/newview/llviewermenu.cpp
@@ -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());