edje: guarantee the theme abi compatility.

if old edj doesn't include "zoom_center" properly,
the initial value will be set with zero,

We can overwrite it in that case since zoom_center initial value is -1.
This commit is contained in:
Hermet Park 2020-02-20 20:22:27 +09:00
parent c5dc774fc5
commit 0416e5757f
1 changed files with 1 additions and 0 deletions

View File

@ -106,6 +106,7 @@ Eet_Data_Descriptor *_edje_edd_edje_part_description_vector_pointer = NULL;
memset(data, 0, size); \ memset(data, 0, size); \
data->clip_to_id = -1; \ data->clip_to_id = -1; \
data->map.zoom.x = data->map.zoom.y = 1.0; \ data->map.zoom.x = data->map.zoom.y = 1.0; \
data->map.zoom.id_center = -1; \
return data; \ return data; \
} \ } \
\ \