missed some cases in font valign switch

master
Richard Linden 2010-07-01 21:29:25 -07:00
parent 6a87068771
commit ee7fce63fe
1 changed files with 4 additions and 0 deletions

View File

@ -132,9 +132,13 @@ S32 LLFontGL::render(const LLWString &wstr, S32 begin_offset, const LLRect& rect
case VCENTER:
y = rect.getCenterY();
break;
case BASELINE:
case BOTTOM:
y = rect.mBottom;
break;
default:
y = rect.mBottom;
break;
}
return render(wstr, begin_offset, x, y, color, halign, valign, style, shadow, max_chars, rect.getWidth(), right_x, use_ellipses);
}