summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2020-03-20 11:27:42 -0400
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-04-03 14:39:59 +0200
commit6fb79af116a7202c997a6799bb479b390e3b4dbd (patch)
tree63fbd11f1fb4d86615c2e660d18ab9a1439f89e0
parent00a93423a6965574e78b6fcc7223e0409c1ecf82 (diff)
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.c16
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,
2067 obj->cur->clipper->private_data); 2067 obj->cur->clipper->private_data);
2068 } 2068 }
2069 2069
2070#ifdef BIDI_SUPPORT
2071 if (o->inherit_paragraph_direction)
2072 {
2073 Evas_BiDi_Direction parent_dir = EVAS_BIDI_DIRECTION_NEUTRAL;
2074
2075 if (obj->smart.parent)
2076 parent_dir = evas_object_paragraph_direction_get(obj->smart.parent);
2077
2078 if (parent_dir != o->paragraph_direction)
2079 {
2080 o->paragraph_direction = parent_dir;
2081 o->changed_paragraph_direction = EINA_TRUE;
2082 }
2083 }
2084#endif
2085
2086 /* If object size changed and ellipsis is set */ 2070 /* If object size changed and ellipsis is set */
2087 if (((o->cur.ellipsis >= 0.0) && 2071 if (((o->cur.ellipsis >= 0.0) &&
2088 ((obj->cur->geometry.w != o->last_computed.w) || 2072 ((obj->cur->geometry.w != o->last_computed.w) ||