diff options
author | Mike Blumenkrantz <zmike@samsung.com> | 2020-03-20 11:27:42 -0400 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2020-04-03 14:39:59 +0200 |
commit | 6fb79af116a7202c997a6799bb479b390e3b4dbd (patch) | |
tree | 63fbd11f1fb4d86615c2e660d18ab9a1439f89e0 | |
parent | 00a93423a6965574e78b6fcc7223e0409c1ecf82 (diff) | |
download | efl-6fb79af116a7202c997a6799bb479b390e3b4dbd.tar.gz |
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
-rw-r--r-- | src/lib/evas/canvas/evas_object_text.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/lib/evas/canvas/evas_object_text.c b/src/lib/evas/canvas/evas_object_text.c index 8d13082d24..b054302a6d 100644 --- a/src/lib/evas/canvas/evas_object_text.c +++ b/src/lib/evas/canvas/evas_object_text.c @@ -2067,22 +2067,6 @@ evas_object_text_render_pre(Evas_Object *eo_obj, 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 (((o->cur.ellipsis >= 0.0) && ((obj->cur->geometry.w != o->last_computed.w) || |