summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerwindow.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2010-10-15 16:29:45 -0700
committerRichard Linden <none@none>2010-10-15 16:29:45 -0700
commit1aea5210165a3e7d0467b5107de4a94d5b5c3be4 (patch)
tree558a9d95646e0e5789431f433394b7b94189113c /indra/newview/llviewerwindow.cpp
parentdbdef5595a1358ca6173929b740b683e98c96bb0 (diff)
fix for dead space at top of screen where media hud is not clickable
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r--indra/newview/llviewerwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index b1d8e2f353..9f272fc845 100644
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -1669,7 +1669,7 @@ void LLViewerWindow::initWorldUI()
{
LLRect hud_rect = full_window;
hud_rect.mBottom += 50;
- if (gMenuBarView)
+ if (gMenuBarView && gMenuBarView->isInVisibleChain())
{
hud_rect.mTop -= gMenuBarView->getRect().getHeight();
}