summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Nelson <richard@lindenlab.com>2011-10-14 16:06:29 -0700
committerRichard Nelson <richard@lindenlab.com>2011-10-14 16:06:29 -0700
commita0a3790f1c08522a8b8e6fa6fc76eb9fcb0f2120 (patch)
treeda2c2fbc023acdd8aecfdb23065f7a49d60d8308
parent7c529b28e0a92fd1d05aecfae7eb10beea02602a (diff)
updated chat toast with 10 pixel padding
-rw-r--r--indra/newview/llnearbychathandler.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llnearbychathandler.cpp b/indra/newview/llnearbychathandler.cpp
index 573985b76e..d39f83875e 100644
--- a/indra/newview/llnearbychathandler.cpp
+++ b/indra/newview/llnearbychathandler.cpp
@@ -374,7 +374,7 @@ void LLNearbyChatScreenChannel::arrangeToasts()
if (!getParent())
{
- // connect to floater snap region to get resize events
+ // connect to floater snap region just to get resize events, we don't care about being a proper widget
floater_snap_region->addChild(this);
setFollows(FOLLOWS_ALL);
}
@@ -384,11 +384,12 @@ void LLNearbyChatScreenChannel::arrangeToasts()
LLRect channel_rect;
floater_snap_region->localRectToOtherView(floater_snap_region->getLocalRect(), &channel_rect, gFloaterView);
+ channel_rect.mLeft += 10;
channel_rect.mRight = channel_rect.mLeft + 300;
S32 channel_bottom = channel_rect.mBottom;
- S32 bottom = channel_bottom;
+ S32 bottom = channel_bottom + 10;
S32 margin = gSavedSettings.getS32("ToastGap");
//sort active toasts