summaryrefslogtreecommitdiff
path: root/indra/newview/llbottomtray.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2011-03-04 00:40:38 -0800
committerRichard Linden <none@none>2011-03-04 00:40:38 -0800
commit25ad57c4b6db3793a0bb6fc1901ea6b0e969c17f (patch)
treed36bb05624facee6db46a9e054e3e1cd533a94f8 /indra/newview/llbottomtray.cpp
parent10a572da887ee599d6c4207cda3a106c7fc3aa65 (diff)
SOCIAL-603 FIX Move how to button to bottom bar
moves scrollbar up from bottom of screen to leave room for resize thumb
Diffstat (limited to 'indra/newview/llbottomtray.cpp')
-rw-r--r--indra/newview/llbottomtray.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llbottomtray.cpp b/indra/newview/llbottomtray.cpp
index 5d5ba03615..4645a2c6e7 100644
--- a/indra/newview/llbottomtray.cpp
+++ b/indra/newview/llbottomtray.cpp
@@ -823,6 +823,12 @@ void LLBottomTray::draw()
getChild<LLButton>("show_people_button")->setToggleState(false);
}
+ LLFloater* help_browser = (LLFloaterReg::findInstance("help_browser"));
+ bool help_floater_visible = (help_browser && help_browser->isInVisibleChain());
+
+ getChild<LLButton>("show_help_btn")->setToggleState(help_floater_visible);
+
+
}
bool LLBottomTray::onContextMenuItemEnabled(const LLSD& userdata)