edje object scale factor changes now trigger deferred recalcs
authorMike Blumenkrantz <zmike@osg.samsung.com>
Tue, 31 Mar 2015 23:12:26 +0000 (19:12 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Tue, 31 Mar 2015 23:16:54 +0000 (19:16 -0400)
as with the previous commit, any user who wants geometry immediately
will be calling calc functions, so this is just going to be redundant
except in cases where calc is not wanted, in which case it is unnecessary
overhead

src/lib/edje/edje_util.c

index 9410a0a..f3fe35f 100644 (file)
@@ -394,7 +394,7 @@ _edje_object_scale_set(Eo *obj, Edje *ed, double scale)
                edje_object_scale_set(o, scale);
           }
      }
-   edje_object_calc_force(obj);
+   _edje_recalc(ed);
 
    return EINA_TRUE;
 }