summaryrefslogtreecommitdiff
path: root/indra/newview/llbottomtray.cpp
diff options
context:
space:
mode:
authorYchebotarev ProductEngine <ychebotarev@productengine.com>2010-01-19 16:39:03 +0200
committerYchebotarev ProductEngine <ychebotarev@productengine.com>2010-01-19 16:39:03 +0200
commit4610e911c959cdd21728822ae80b9e717ccd3012 (patch)
treef22d92c144022820f1e1412adb6869b494d8b859 /indra/newview/llbottomtray.cpp
parent8bc11c7355573846e14cef30c9603161c9f88a08 (diff)
working on floaters rezise-position bugs: EXT-4414, EXT-2625
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llbottomtray.cpp')
-rw-r--r--indra/newview/llbottomtray.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llbottomtray.cpp b/indra/newview/llbottomtray.cpp
index 8a7ed23b59..bbdaf5449f 100644
--- a/indra/newview/llbottomtray.cpp
+++ b/indra/newview/llbottomtray.cpp
@@ -325,6 +325,11 @@ void LLBottomTray::setVisible(BOOL visible)
}
}
}
+
+ if(visible)
+ gFloaterView->setSnapOffsetBottom(getRect().getHeight());
+ else
+ gFloaterView->setSnapOffsetBottom(0);
}
void LLBottomTray::showBottomTrayContextMenu(S32 x, S32 y, MASK mask)