Merged with default tip

Kitty Barnett 2011-11-26 01:05:46 +01:00
commit 57efed305f
1 changed files with 1 additions and 2 deletions

View File

@ -648,7 +648,6 @@ void LLScreenChannel::showToastsTop()
LLRect toast_rect;
S32 top = getRect().mTop;
S32 bottom = (getRect().mTop - getRect().mBottom)/2 + mToastList[0].toast->getRect().getHeight()/2;
S32 toast_margin = 0;
std::vector<ToastElem>::reverse_iterator it;
@ -661,7 +660,7 @@ void LLScreenChannel::showToastsTop()
if(it != mToastList.rbegin())
{
LLToast* toast = (*(it-1)).toast;
bottom = toast->getRect().mTop - toast->getTopPad();
top = toast->getRect().mBottom + toast->getTopPad();
toast_margin = gSavedSettings.getS32("ToastGap");
}