summaryrefslogtreecommitdiff
path: root/indra/newview/llnearbychathandler.cpp
diff options
context:
space:
mode:
authorRichard Nelson <none@none>2010-10-04 19:07:28 -0700
committerRichard Nelson <none@none>2010-10-04 19:07:28 -0700
commit3081f89744ab527af4c843bdf898654d4ba87b57 (patch)
tree5991395e039d63dd5cdcffa540e7030255fa5db7 /indra/newview/llnearbychathandler.cpp
parent9e69af82b00141e82293656c6655ecfdba457e4a (diff)
EXP-138 FIXED Chat and IM notices not aligned with Bottom bar in Skylight Viewer
Diffstat (limited to 'indra/newview/llnearbychathandler.cpp')
-rw-r--r--indra/newview/llnearbychathandler.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/newview/llnearbychathandler.cpp b/indra/newview/llnearbychathandler.cpp
index f06f4eab28..adb79fd4fd 100644
--- a/indra/newview/llnearbychathandler.cpp
+++ b/indra/newview/llnearbychathandler.cpp
@@ -336,10 +336,8 @@ void LLNearbyChatScreenChannel::showToastsBottom()
return;
LLRect toast_rect;
- S32 channel_bottom = gViewerWindow->getWorldViewRectScaled().mBottom + gSavedSettings.getS32("ChannelBottomPanelMargin");
- LLRect cur_rect = getRect();
- cur_rect.translate(0, channel_bottom - cur_rect.mBottom);
- setRect(cur_rect);
+ updateBottom();
+ S32 channel_bottom = getRect().mBottom;
S32 bottom = channel_bottom;
S32 margin = gSavedSettings.getS32("ToastGap");