[evas]Remove unnessary condition for relayout of textblock 87/123387/2
authorjiin.moon <jiin.moon@samsung.com>
Mon, 13 Feb 2017 05:25:17 +0000 (14:25 +0900)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Wed, 5 Apr 2017 10:16:01 +0000 (03:16 -0700)
The _relayout_if_needs api already has enough condition
for whether relayout is required(included this condition).
Rather because of this condition, can't do relayout even if it's required

Change-Id: Ic6b0c7a830bded298d39e23449e85a8e6c0d4a1f

src/lib/evas/canvas/evas_object_textblock.c

index 6af486b5c48dd6a323124144a6e213ae44984889..2d2f98f0fddf889fa1f1e664ffb80ee15e64110c 100644 (file)
@@ -12972,8 +12972,7 @@ evas_object_textblock_render(Evas_Object *eo_obj EINA_UNUSED,
       in this context (eg. inside a proxy).
       Plus, one more scenario is that the object isn't visible but actually is visible
       by evas_map. */
-   if (o->changed || o->content_changed || o->format_changed || o->obstacle_changed)
-       _relayout_if_needed(eo_obj, o);
+   _relayout_if_needed(eo_obj, o);
 
    /* If there are no paragraphs and thus there are no lines,
     * there's nothing left to do. */