git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@77137
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
* edje_codegen: added support for externals
+2012-09-27 Michael Bouchaud (yoz)
+
+ * fix scale_set in sub group
EAPI Eina_Bool
edje_object_scale_set(Evas_Object *obj, double scale)
{
- Edje *ed;
+ Edje *ed, *ged;
+ Eina_List *l;
ed = _edje_fetch(obj);
if (!ed) return EINA_FALSE;
if (ed->scale == scale) return EINA_TRUE;
ed->scale = FROM_DOUBLE(scale);
+ EINA_LIST_FOREACH(ed->groups, l, ged)
+ ged->scale = ed->scale;
edje_object_calc_force(obj);
return EINA_TRUE;
}