summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2009-10-23 14:10:42 -0700
committerLeyla Farazha <leyla@lindenlab.com>2009-10-23 14:10:42 -0700
commit7a7bc8d33bba19530bf71c210d996a3faf711cd1 (patch)
tree5b25df95d39cf2de69cd8b7fd4a8bd6d785936e1 /indra/newview
parentf58857824e71edc39d98180e7750aee9ff1d780e (diff)
EXT-1742 Navbar should have a dropshadow that covers the sidepanel EXT-1563 I18N: Alt-arrow instructions in tab tooltips wont honor their translation
reviewed by james
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llnavigationbar.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llnavigationbar.cpp b/indra/newview/llnavigationbar.cpp
index b77415dfee..992e244ed9 100644
--- a/indra/newview/llnavigationbar.cpp
+++ b/indra/newview/llnavigationbar.cpp
@@ -272,6 +272,15 @@ void LLNavigationBar::draw()
onTeleportHistoryChanged();
mPurgeTPHistoryItems = false;
}
+
+ if (isBackgroundVisible())
+ {
+ static LLUICachedControl<S32> drop_shadow_floater ("DropShadowFloater", 0);
+ static LLUIColor color_drop_shadow = LLUIColorTable::instance().getColor("ColorDropShadow");
+ gl_drop_shadow(0, getRect().getHeight(), getRect().getWidth(), 0,
+ color_drop_shadow, drop_shadow_floater );
+ }
+
LLPanel::draw();
}