MAINT-6683 fixed wrapping issues of notecard embedded items
parent
e5395a48a8
commit
00fc34a62f
|
|
@ -364,12 +364,7 @@ S32 LLFontGL::render(const LLWString &wstr, S32 begin_offset, F32 x, F32 y, cons
|
|||
|
||||
if (right_x)
|
||||
{
|
||||
F32 cr_x = (cur_x - origin.mV[VX]) / sScaleX;
|
||||
if (*right_x < cr_x)
|
||||
{
|
||||
// rightmost edge of previously drawn text, don't draw over previous text
|
||||
*right_x = cr_x;
|
||||
}
|
||||
*right_x = (cur_x - origin.mV[VX]) / sScaleX;
|
||||
}
|
||||
|
||||
//FIXME: add underline as glyph?
|
||||
|
|
|
|||
Loading…
Reference in New Issue