elm_photocam : create 1x1 grid default 80/165080/1
authorJeonghyun Yun <jh0506.yun@samsung.com>
Tue, 26 Dec 2017 01:38:57 +0000 (10:38 +0900)
committerJeonghyun Yun <jh0506.yun@samsung.com>
Tue, 26 Dec 2017 04:23:27 +0000 (04:23 +0000)
@tizen_feature

Change-Id: I06c78081b2af50c1d7cf523c461813a3641b9b9e
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
src/lib/elementary/efl_ui_image_zoomable.c

index 09321aa..5131958 100644 (file)
@@ -551,16 +551,19 @@ _grid_create(Evas_Object *obj)
 
         return NULL;
      }
-   if (sd->do_region)
+
+/* TIZEN_ONLY(20160712): create 1x1 grid default */
+   /*if (sd->do_region)
      {
         g->gw = (g->w + g->tsize - 1) / g->tsize;
         g->gh = (g->h + g->tsize - 1) / g->tsize;
      }
-   else
+   else*/
      {
         g->gw = 1;
         g->gh = 1;
      }
+/* END */
 
    g->grid = calloc(1, sizeof(Efl_Ui_Image_Zoomable_Grid_Item) * g->gw * g->gh);
    if (!g->grid)