summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-10-12 16:00:04 -0700
committerNicolas Aguirre <aguirre.nicolas@gmail.com>2015-11-12 10:15:03 +0100
commitefaf3cf1d586239fda41cec749d47413ad06a64b (patch)
tree549ade760cc71dd3bb1d074e2e9efef867b3aba4
parent12508e08f17da77cf223fc79880ca3398c052f0f (diff)
elm_image: let's not trigger confusing update add.
Elm_Image rely on Evas_Image ability to rotate content. There is no pixels manipulation involved that require an update_add here. In fact this cause a bug where the content would disapear due to evas trying to get some pixels data that are not where it think they are.
-rw-r--r--src/lib/elm_image.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/elm_image.c b/src/lib/elm_image.c
index 713ad6592..5cfc04648 100644
--- a/src/lib/elm_image.c
+++ b/src/lib/elm_image.c
@@ -1402,8 +1402,6 @@ _elm_image_orient_set(Eo *obj, Elm_Image_Data *sd, Elm_Image_Orient orient)
1402 1402
1403 evas_object_image_orient_set(sd->img, orient); 1403 evas_object_image_orient_set(sd->img, orient);
1404 sd->orient = orient; 1404 sd->orient = orient;
1405 evas_object_image_size_get(sd->img, &iw, &ih);
1406 evas_object_image_data_update_add(sd->img, 0, 0, iw, ih);
1407 _elm_image_internal_sizing_eval(obj, sd); 1405 _elm_image_internal_sizing_eval(obj, sd);
1408} 1406}
1409 1407