summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_data.c
diff options
context:
space:
mode:
authorYoungbok Shin <youngb.shin@samsung.com>2015-11-10 14:52:57 -0800
committerCedric BAIL <cedric@osg.samsung.com>2015-11-10 14:53:00 -0800
commit1ff131841bb4e4be2aa03ec129a800ff06326ee9 (patch)
tree2fda6fbb650059884b2bd590eec5b07b82aaa127 /src/lib/edje/edje_data.c
parent46777274fed3d20d823c70e3eaf1eba5a815530d (diff)
downloadefl-1ff131841bb4e4be2aa03ec129a800ff06326ee9.tar.gz
edje: initialize map.zoom values to fix old *.edj compatibility issues.
Summary: The initial values for map.zoom.x(y) should be [1.0]: it means 100%. The values from newly builded edj has been set properly. But, if a part from old *.edj turns on map feature, map.zoom.x(y) will be set [0.0]: it means 0%. So, the part will be invisible. We need to initialize these values. @fix Test Plan: 1. Build a *.edc file which has a part with [description.map.on: 1;] in EFL 1.13. 2. See it works well in EFL 1.13. 3. Install EFL 1.14 or laters. 4. See the part is disappear. Reviewers: Hermet, jpeg, cedric Reviewed By: cedric Subscribers: jiin.moon Differential Revision: https://phab.enlightenment.org/D3302 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/edje/edje_data.c')
-rw-r--r--src/lib/edje/edje_data.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/edje/edje_data.c b/src/lib/edje/edje_data.c
index 1dc890bf88..f499181dfb 100644
--- a/src/lib/edje/edje_data.c
+++ b/src/lib/edje/edje_data.c
@@ -95,6 +95,7 @@ Eet_Data_Descriptor *_edje_edd_edje_filter_directory = NULL;
data = eina_mempool_malloc(_emp_##Type, size); \
memset(data, 0, size); \
data->clip_to_id = -1; \
+ data->map.zoom.x = data->map.zoom.y = 1.0; \
return data; \
} \
\