summaryrefslogtreecommitdiff
path: root/indra/newview/llnearbychathandler.cpp
diff options
context:
space:
mode:
authorYuri Chebotarev <ychebotarev@productengine.com>2010-06-09 13:55:06 +0300
committerYuri Chebotarev <ychebotarev@productengine.com>2010-06-09 13:55:06 +0300
commit2959a6413fe853bce000422f591e3f231fd9d188 (patch)
tree0f35df395432e9e5f4804032109c03191a83785c /indra/newview/llnearbychathandler.cpp
parent18c35a52c5cd157b72403bf3a43123e922c9079b (diff)
EXT-7534 FIX add toast wrapping pannel padding
reviewed by Alexei Arabadji at https://codereview.productengine.com/secondlife/r/536/ --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llnearbychathandler.cpp')
-rw-r--r--indra/newview/llnearbychathandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llnearbychathandler.cpp b/indra/newview/llnearbychathandler.cpp
index 9824517ed1..d36fc6bca7 100644
--- a/indra/newview/llnearbychathandler.cpp
+++ b/indra/newview/llnearbychathandler.cpp
@@ -287,7 +287,7 @@ void LLNearbyChatScreenChannel::showToastsBottom()
toast_rect.setLeftTopAndSize(getRect().mLeft , bottom + toast_rect.getHeight(), toast_rect.getWidth() ,toast_rect.getHeight());
toast->setRect(toast_rect);
- bottom += toast_rect.getHeight() + margin;
+ bottom += toast_rect.getHeight() - toast->getTopPad() + margin;
}
// use reverse order to provide correct z-order and avoid toast blinking