Skip to content
Snippets Groups Projects
Commit a00165aa authored by andreykproductengine's avatar andreykproductengine
Browse files

MAINT-6683 fixed wrapping issues of notecard embedded items

parent d53ec6c2
No related branches found
No related tags found
No related merge requests found
......@@ -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?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment