forked from enlightenment/efl
evas/text: remove paragraph_direction inherit during render
this is unnecessary: * for the text object itself, the value is correctly set whenever the paragraph_direction property is changed * for inheritance, smart object already implements propagation which triggers on member add or property change Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11549
This commit is contained in:
parent
00a93423a6
commit
6fb79af116
|
@ -2067,22 +2067,6 @@ evas_object_text_render_pre(Evas_Object *eo_obj,
|
||||||
obj->cur->clipper->private_data);
|
obj->cur->clipper->private_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef BIDI_SUPPORT
|
|
||||||
if (o->inherit_paragraph_direction)
|
|
||||||
{
|
|
||||||
Evas_BiDi_Direction parent_dir = EVAS_BIDI_DIRECTION_NEUTRAL;
|
|
||||||
|
|
||||||
if (obj->smart.parent)
|
|
||||||
parent_dir = evas_object_paragraph_direction_get(obj->smart.parent);
|
|
||||||
|
|
||||||
if (parent_dir != o->paragraph_direction)
|
|
||||||
{
|
|
||||||
o->paragraph_direction = parent_dir;
|
|
||||||
o->changed_paragraph_direction = EINA_TRUE;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* If object size changed and ellipsis is set */
|
/* If object size changed and ellipsis is set */
|
||||||
if (((o->cur.ellipsis >= 0.0) &&
|
if (((o->cur.ellipsis >= 0.0) &&
|
||||||
((obj->cur->geometry.w != o->last_computed.w) ||
|
((obj->cur->geometry.w != o->last_computed.w) ||
|
||||||
|
|
Loading…
Reference in New Issue