diff options
author | Leslie Linden <leslie@lindenlab.com> | 2011-10-12 17:43:47 -0700 |
---|---|---|
committer | Leslie Linden <leslie@lindenlab.com> | 2011-10-12 17:43:47 -0700 |
commit | 309ebb84a8cf93e03e2594525aa128b3002040bf (patch) | |
tree | 53133ec64c6419f44389a071269cd0709703fff2 /indra/newview/llnearbychatbar.cpp | |
parent | f95922c27330b12ba22434203bf6955c06b74ba4 (diff) |
* Floater positioning now based on position of other cascading windows currently
open.
Diffstat (limited to 'indra/newview/llnearbychatbar.cpp')
-rw-r--r-- | indra/newview/llnearbychatbar.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/indra/newview/llnearbychatbar.cpp b/indra/newview/llnearbychatbar.cpp index cd84275ef0..3e4228cfb6 100644 --- a/indra/newview/llnearbychatbar.cpp +++ b/indra/newview/llnearbychatbar.cpp @@ -109,15 +109,18 @@ BOOL LLNearbyChatBar::postBuild() return TRUE; } -void LLNearbyChatBar::applyRectControl() +bool LLNearbyChatBar::applyRectControl() { - LLFloater::applyRectControl(); - if (getRect().getHeight() > getMinHeight()) + bool rect_controlled = LLFloater::applyRectControl(); + + if (getRect().getHeight() > getMinHeight()) { getChildView("nearby_chat")->setVisible(true); mExpandedHeight = getRect().getHeight(); enableResizeCtrls(true); } + + return rect_controlled; } void LLNearbyChatBar::onChatFontChange(LLFontGL* fontp) |