From: Jeonghyun Yun Date: Tue, 26 Dec 2017 01:38:57 +0000 (+0900) Subject: elm_photocam : create 1x1 grid default X-Git-Tag: submit/sandbox/upgrade/efl120/20180319.053334~677 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=443a29885d04985aa6f4b70fb84fb84bd5694810;p=platform%2Fupstream%2Fefl.git elm_photocam : create 1x1 grid default @tizen_feature Change-Id: I06c78081b2af50c1d7cf523c461813a3641b9b9e Signed-off-by: Jeonghyun Yun --- diff --git a/src/lib/elementary/efl_ui_image_zoomable.c b/src/lib/elementary/efl_ui_image_zoomable.c index 09321aa..5131958 100644 --- a/src/lib/elementary/efl_ui_image_zoomable.c +++ b/src/lib/elementary/efl_ui_image_zoomable.c @@ -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)