summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorHermet Park <chuneon.park@samsung.com>2020-12-14 12:25:22 +0900
committerHermet Park <chuneon.park@samsung.com>2020-12-14 12:25:22 +0900
commitd588093a467ac46d37b759cc0efff73dae02062b (patch)
tree65662971bada389e9e52d28ed0ac0c38d4fdb63c /src/modules
parentf01b7be0c1a28b5f7d8c4133456cba5d99590c07 (diff)
parenta43c2dad505dbce76b955422c41091fc5b0efc2b (diff)
Merge branch 'master' into devs/hermet/lottie
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/evas/image_loaders/png/evas_image_load_png.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/modules/evas/image_loaders/png/evas_image_load_png.c b/src/modules/evas/image_loaders/png/evas_image_load_png.c
index ce55916b0e..9e5073cc5b 100644
--- a/src/modules/evas/image_loaders/png/evas_image_load_png.c
+++ b/src/modules/evas/image_loaders/png/evas_image_load_png.c
@@ -473,6 +473,13 @@ evas_image_load_file_head_with_data_png(void *loader_data,
473 evas_loader_helper_stretch_region_push(&prop->stretch.horizontal.region, 473 evas_loader_helper_stretch_region_push(&prop->stretch.horizontal.region,
474 &current, stretchable); 474 &current, stretchable);
475 } 475 }
476 // End with strechable, add length info
477 if (stretchable)
478 {
479 evas_loader_helper_stretch_region_push(&prop->stretch.horizontal.region,
480 &current, stretchable);
481 stretchable = !stretchable;
482 }
476 483
477 current = 0; 484 current = 0;
478 485
@@ -513,6 +520,13 @@ evas_image_load_file_head_with_data_png(void *loader_data,
513 evas_loader_helper_stretch_region_push(&prop->stretch.vertical.region, 520 evas_loader_helper_stretch_region_push(&prop->stretch.vertical.region,
514 &current, stretchable); 521 &current, stretchable);
515 } 522 }
523 // End with strechable, add length info
524 if (stretchable)
525 {
526 evas_loader_helper_stretch_region_push(&prop->stretch.vertical.region,
527 &current, stretchable);
528 stretchable = !stretchable;
529 }
516 530
517 // Content zone is optional, if not provided, we should use the one we guessed 531 // Content zone is optional, if not provided, we should use the one we guessed
518 if (prop->content.x == 0 || prop->content.y == 0) 532 if (prop->content.x == 0 || prop->content.y == 0)