summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChunEon Park <chuneon.park@samsung.com>2012-09-01 16:10:11 +0900
committerChunEon Park <chuneon.park@samsung.com>2012-09-01 16:14:22 +0900
commit467df6413f7a57e654b48c8a0a03e4e001b46034 (patch)
treeaa5d0b665eba79cb1faf75cfda3190958b1b2f6f /src/lib
parent8d77a5b0c24eda0bc29543783a17a1fc8fb0c7a8 (diff)
downloadedje-467df6413f7a57e654b48c8a0a03e4e001b46034.tar.gz
edje-467df6413f7a57e654b48c8a0a03e4e001b46034.tar.bz2
edje-467df6413f7a57e654b48c8a0a03e4e001b46034.zip
edje - revert edje map code temporarily.
need to update image object when it's swallow part have a map enabled. evas doens't support image object hooking. so this feature will be fixed along with evas soon. Change-Id: I7a12b3dab20b7d3103af31b4cefb245ca2774931
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/edje_calc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/edje_calc.c b/src/lib/edje_calc.c
index 569c5a5..8b6a501 100644
--- a/src/lib/edje_calc.c
+++ b/src/lib/edje_calc.c
@@ -2968,10 +2968,8 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
// create map and populate with part geometry
if (!map) map = evas_map_new(4);
evas_map_util_points_populate_from_object(map, ep->object);
- if (ep->part->type == EDJE_PART_TYPE_IMAGE ||
- ((ep->part->type == EDJE_PART_TYPE_SWALLOW) &&
- (!strcmp(evas_object_type_get(mo), "image")))
- )
+//TEMPORARY: revert this code temporarly. will be fix soon.
+ if (ep->part->type == EDJE_PART_TYPE_IMAGE)
{
int iw = 1, ih = 1;