summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatersocial.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloatersocial.cpp')
-rw-r--r--indra/newview/llfloatersocial.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/indra/newview/llfloatersocial.cpp b/indra/newview/llfloatersocial.cpp
index acfb0960be..6fd3650c7b 100644
--- a/indra/newview/llfloatersocial.cpp
+++ b/indra/newview/llfloatersocial.cpp
@@ -711,11 +711,6 @@ void LLSocialAccountPanel::showConnectButton()
if(!mConnectButton->getVisible())
{
mConnectButton->setVisible(TRUE);
- LLRect mLayoutStackRect = mPanelButtons->getRect();
- F32 deltaTopPadding = mConnectButton->getRect().mBottom - mUseAnotherAccountButton->getRect().mTop;
- mLayoutStackRect.translate(0, -(mConnectButton->getRect().getHeight() + deltaTopPadding));
- mPanelButtons->setRect(mLayoutStackRect);
-
mUseAnotherAccountButton->setVisible(FALSE);
mDisconnectButton->setVisible(FALSE);
}
@@ -726,11 +721,6 @@ void LLSocialAccountPanel::hideConnectButton()
if(mConnectButton->getVisible())
{
mConnectButton->setVisible(FALSE);
- LLRect mLayoutStackRect = mPanelButtons->getRect();
- F32 deltaTopPadding = mConnectButton->getRect().mBottom - mUseAnotherAccountButton->getRect().mTop;
- mLayoutStackRect.translate(0, mConnectButton->getRect().getHeight() + deltaTopPadding);
- mPanelButtons->setRect(mLayoutStackRect);
-
mUseAnotherAccountButton->setVisible(TRUE);
mDisconnectButton->setVisible(TRUE);
}