bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=6fb79af116a7202c997a6799bb479b390e3b4dbd

commit 6fb79af116a7202c997a6799bb479b390e3b4dbd
Author: Mike Blumenkrantz <zm...@samsung.com>
Date:   Fri Mar 20 11:27:42 2020 -0400

    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 <m...@marcel-hollerbach.de>
    Differential Revision: https://phab.enlightenment.org/D11549
---
 src/lib/evas/canvas/evas_object_text.c | 16 ----------------
 1 file changed, 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) ||

-- 


Reply via email to