forked from enlightenment/efl
Evas textblock: Fix it->x value during layout
This updates it->x when visiting each item in the line layout code, as it was always 0, even when it was used during item rollback. Fortunately, in the above case a 0 value was actually expected, so this does not actually affect current behavior. This fix is mainly for consistency and future development.
This commit is contained in:
parent
0de8ebbb3a
commit
8202044890
|
@ -4854,6 +4854,7 @@ _layout_par(Ctxt *c)
|
|||
continue;
|
||||
}
|
||||
|
||||
it->x = c->x;
|
||||
if (it->type == EVAS_TEXTBLOCK_ITEM_TEXT)
|
||||
{
|
||||
_layout_item_ascent_descent_adjust(c->obj, &c->ascent,
|
||||
|
|
Loading…
Reference in New Issue