evas: Don't need to apply 0 size when bounding box has updates. 46/160246/1 accepted/tizen/unified/20171116.060652 submit/tizen/20171115.071100
authorjiin.moon <jiin.moon@samsung.com>
Wed, 15 Nov 2017 02:27:23 +0000 (11:27 +0900)
committerJIIN MOON <jiin.moon@samsung.com>
Wed, 15 Nov 2017 04:39:09 +0000 (04:39 +0000)
@tizen_only

Change-Id: I724d9833482b8109e040e56db7a05f5b049bea48

src/lib/evas/canvas/evas_object_smart.c

index bb8b61a..4fa0384 100644 (file)
@@ -1153,6 +1153,9 @@ evas_object_update_bounding_box(Evas_Object *eo_obj, Evas_Object_Protected_Data
         ph = obj->prev->geometry.h;
      }
 
+   /* TIZEN_ONLY(171115) : Don't need to apply 0 size when bounding box has updates */
+   if (w <= 0 || h <= 0) return;
+
    /* We are not yet trying to find the smallest bounding box, but we want to find a good approximation quickly.
     * That's why we initialiaze min and max search to geometry of the parent object.
     */